<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="selb-20220406.xsd" xlink:type="simple"/>
    <context id="duration_2022-04-06_to_2022-04-06">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001453687</identifier>
        </entity>
        <period>
            <startDate>2022-04-06</startDate>
            <endDate>2022-04-06</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2022-04-06_to_2022-04-06"
      id="Hidden_dei_EntityRegistrantName">SELECTA BIOSCIENCES INC</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2022-04-06_to_2022-04-06">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2022-04-06_to_2022-04-06"
      id="Hidden_dei_EntityCentralIndexKey">0001453687</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2022-04-06_to_2022-04-06">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2022-04-06_to_2022-04-06">2022-04-06</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2022-04-06_to_2022-04-06">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2022-04-06_to_2022-04-06">001-37798</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2022-04-06_to_2022-04-06">26-1622110</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2022-04-06_to_2022-04-06">65 Grove Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2022-04-06_to_2022-04-06">Watertown</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2022-04-06_to_2022-04-06">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2022-04-06_to_2022-04-06">02472</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2022-04-06_to_2022-04-06">(617)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2022-04-06_to_2022-04-06">923-1400</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2022-04-06_to_2022-04-06">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2022-04-06_to_2022-04-06">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2022-04-06_to_2022-04-06">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2022-04-06_to_2022-04-06">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2022-04-06_to_2022-04-06">Common Stock (Par Value $0.0001)</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2022-04-06_to_2022-04-06">SELB</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-04-06_to_2022-04-06">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2022-04-06_to_2022-04-06">false</dei:EntityEmergingGrowthCompany>
</xbrl>
