<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="sybx-20251231.xsd" xlink:type="simple"/>
    <context id="C_b86af22a-fc51-497c-8b26-f49c4a0618ac">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001527599</identifier>
        </entity>
        <period>
            <instant>2026-03-31</instant>
        </period>
    </context>
    <context id="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001527599</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C_0cd8bdb8-ef6e-4e48-8cec-949d64d4c029">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001527599</identifier>
        </entity>
        <period>
            <instant>2025-06-30</instant>
        </period>
    </context>
    <context id="C_0f4310bf-f926-4790-8267-bb5a90c8b929">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001527599</identifier>
            <segment>
                <xbrldi:typedMember dimension="ecd:RestatementDateAxis">
                    <ecd:RestatementDateAxis.domain>2023-09-20</ecd:RestatementDateAxis.domain>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <unit id="U_shares">
        <measure>shares</measure>
    </unit>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_676c24e2-61d0-455c-b470-58b23332cfe7">0001527599</dei:EntityCentralIndexKey>
    <dei:DocumentFiscalPeriodFocus
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_ed3cfff4-82e9-4fdc-b4d9-7b0660cfb3cb">FY</dei:DocumentFiscalPeriodFocus>
    <dei:AmendmentFlag
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_db547014-920b-4ea8-8af7-890a0a1d8b35">true</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_6d20aebf-8db7-4424-83f2-1554d347753f">10-K/A</dei:DocumentType>
    <dei:DocumentAnnualReport
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_67e9c49e-22fc-4a15-a5d1-d33faf70b130">true</dei:DocumentAnnualReport>
    <dei:DocumentPeriodEndDate
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_66797551-c067-4f12-ae52-64bf8a656fdb">2025-12-31</dei:DocumentPeriodEndDate>
    <dei:CurrentFiscalYearEndDate
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_0cc25d56-d9b4-40de-9940-f26e58df8892">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentFiscalYearFocus
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_eb093e76-7884-464e-8032-a25daae8eebb">2025</dei:DocumentFiscalYearFocus>
    <dei:DocumentTransitionReport
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_e3147abe-5579-4589-a7f9-69ac725e845c">false</dei:DocumentTransitionReport>
    <dei:EntityFileNumber
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_65e4ec1b-17e4-48f8-ba9f-e8746f8a7b48">001-37566</dei:EntityFileNumber>
    <dei:EntityRegistrantName
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_a4cd78ea-932e-4ac5-9f99-1f639297b3b7">SYNLOGIC, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_82757b05-97bb-48c8-b2b2-20372c7e21ee">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_6d476b95-c462-4015-bed4-45c1d94d8b4a">26-1824804</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_8743fcc2-d374-4ed4-9e26-28743d9743fb">PO Box</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_610f7c69-daa9-4f2c-9395-97fe5b0773f3">30</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_8ba6093e-210d-43fd-8b8e-51061f3b05a7">Winchester</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_742df7e1-0d02-46c1-b33f-dfd6300ab964">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_e8b25fcd-6b39-4749-8ed2-574a520d9f7b">01890</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_31858789-b3ab-45a5-bc5e-14b9f052f462">617</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_0dc9d61a-dd34-4074-8b15-d72fee7736f5">659-2802</dei:LocalPhoneNumber>
    <dei:EntityWellKnownSeasonedIssuer
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_2b4b7186-1228-40b5-ade0-37de969550f1">No</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityVoluntaryFilers
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_61e9e363-68af-4bf8-8925-678ec523eb19">No</dei:EntityVoluntaryFilers>
    <dei:EntityCurrentReportingStatus
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_9e94ceeb-9e01-438f-8b45-55ead23d6529">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_40998972-f9b9-4257-8d37-cc495d6b19d7">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_0e959154-9d16-47fd-b07f-f8cfe63a9247">Non-accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_ae0a17be-b1b3-4658-b7b5-054e6fe9f6c7">true</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_b3341bd6-d818-4350-9b89-7b3cf8714a6c">false</dei:EntityEmergingGrowthCompany>
    <dei:IcfrAuditorAttestationFlag
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_8a1980f3-474d-475a-bccd-18b43ccf600f">false</dei:IcfrAuditorAttestationFlag>
    <dei:DocumentFinStmtErrorCorrectionFlag
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_79829b75-9d2d-4cf8-8a3f-3d3e9ecfa9c8">false</dei:DocumentFinStmtErrorCorrectionFlag>
    <dei:EntityShellCompany
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_ef21b58c-fd8c-4b33-9551-27b69afa36a8">true</dei:EntityShellCompany>
    <dei:EntityPublicFloat
      contextRef="C_0cd8bdb8-ef6e-4e48-8cec-949d64d4c029"
      decimals="-5"
      id="F_49d945a4-3a6c-4f30-bc35-ef3c15f8af01"
      unitRef="U_USD">4400000</dei:EntityPublicFloat>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="C_b86af22a-fc51-497c-8b26-f49c4a0618ac"
      decimals="0"
      id="F_5aedbdcb-6c73-4870-8bf0-0773a485f580"
      unitRef="U_shares">11698919</dei:EntityCommonStockSharesOutstanding>
    <dei:DocumentsIncorporatedByReferenceTextBlock
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_fcdaf8e4-e444-4e3d-b687-bf59cb4b3dcb">&lt;p style="font-size:10pt;margin-top:3pt;font-family:Times New Roman;margin-bottom:0;text-align:center;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-weight:bold;font-size:7.5pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;DOCUMENTS INCORPORATED BY REFERENCE&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size:10pt;margin-top:2pt;font-family:Times New Roman;margin-bottom:0;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:7.5pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;None.&lt;/span&gt;&lt;/p&gt;</dei:DocumentsIncorporatedByReferenceTextBlock>
    <dei:AmendmentDescription
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_d7b2a0f9-bf4c-427d-a583-701377bd89da">This registrant is filing this Amendment No. 1 (&#x201c;Amendment&#x201d;) to its Annual Report on Form 10-K for the year ended December 31, 2025 as filed with the Securities and Exchange Commission (the &#x201c;SEC&#x201d;) on March 12, 2026 (the &#x201c;Original Filing&#x201d;) solely to include the information required by Item 10 - &#x201c;Directors, Executive Officers and Corporate Governance,&#x201d; Item 11 - &#x201c;Executive Compensation,&#x201d; Item 12 - &#x201c;Security Ownership of Certain Beneficial Owners and Management and Related Stockholder Matters,&#x201d; Item 13 - &#x201c;Certain Relationships and Related Transactions, and Director Independence&#x201d; and Item 14 - &#x201c;Principal Accounting Fees and Services&#x201d; of Part III of Form 10-K that was intentionally omitted from Part III of Original Filing. The reference on the cover page of the Original Filing to the incorporation by reference of portions of our definitive proxy statement into Part III of the Original Filing is hereby deleted. Items 10, 11, 12, 13 and 14 of Part III of the Original Filing are amended and restated in their entirety as set forth in this Amendment. In addition, pursuant to Rule 13a-14(a) of the Securities Exchange Act of 1934, as amended (the &#x201c;Exchange Act&#x201d;), we are including with this Amendment certain currently dated certifications. Because no financial statements have been included in this Amendment and this Amendment does not contain or amend any disclosure with respect to Items 307 and 308 of Regulation S-K, paragraphs 3, 4 and 5 of the certifications have been omitted. We are not including the certifications under Section 906 of the Sarbanes-Oxley Act of 2002 as no financial statements are being filed with this Amendment. Except as described above, no other amendments are being made to the Original Filing. This Amendment does not reflect events occurring after the March 12, 2026 filing of the Original Filing or modify or update the disclosure contained in the Original Filing in any way other than as required to reflect the amendments discussed above and reflected below. Accordingly, this Amendment should be read in conjunction with the Original Filing and our other filings with the SEC. Terms used but not defined herein shall have the meanings ascribed to them in the Original Filing.</dei:AmendmentDescription>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_48ab3827-9ed4-451c-9d90-ac62ef272ba7">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
    <ecd:ErrCompAnalysisTextBlock
      contextRef="C_0f4310bf-f926-4790-8267-bb5a90c8b929"
      id="F_ac399def-cdd5-4dc9-b027-d3e22bfb156f">&lt;p style="font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;O&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;n &lt;/span&gt;&lt;span style="font-size:9pt;font-family:Times New Roman;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;September 20, &lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;2023&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;, our Board adopted a Clawback Policy to comply with the new Clawback rules and listing standards promulgated by the SEC and Nasdaq Stock Market, respectively. The Clawback Policy generally provides that we will seek to recover, in the event of a required accounting restatement, excess incentive compensation received by covered officers where that compensation is based on erroneously reported financial information, regardless of fault or misconduct.&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:9pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt; &lt;/span&gt;&lt;/p&gt;</ecd:ErrCompAnalysisTextBlock>
    <ecd:RestatementDeterminationDate
      contextRef="C_0f4310bf-f926-4790-8267-bb5a90c8b929"
      id="F_0e7e0d1b-8a03-4a88-a4ca-28f75e149ab7">2023-09-20</ecd:RestatementDeterminationDate>
    <dei:AuditorName
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_c24b596e-928b-4efb-a937-0545e4c960ad">KPMG LLP</dei:AuditorName>
    <dei:AuditorLocation
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_1821cfdb-7a3f-4283-a2cc-4ae2625c0d66">Boston, MA</dei:AuditorLocation>
    <dei:AuditorFirmId
      contextRef="C_0b6cdaa5-c7e3-4a1a-83a5-c34c29e1360f"
      id="F_bf4fef27-9e41-4193-8e94-eb9cdb2f4e60">185</dei:AuditorFirmId>
</xbrl>
