<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  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="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001426800</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-20</startDate>
            <endDate>2026-08-20</endDate>
        </period>
    </context>
    <context id="C_7959c289-a58a-4f19-b0f9-3f034ff5a207">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001426800</identifier>
        </entity>
        <period>
            <startDate>2026-08-20</startDate>
            <endDate>2026-08-20</endDate>
        </period>
    </context>
    <context id="C_7a69d31e-6677-456b-9a95-fcbd5b358121">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001426800</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-20</startDate>
            <endDate>2026-08-20</endDate>
        </period>
    </context>
    <unit id="U_pure">
        <measure>pure</measure>
    </unit>
    <unit id="U_shares">
        <measure>shares</measure>
    </unit>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      id="F_02aa7ad2-8031-4d5a-8fa8-fecbafa9920f">0001426800</dei:EntityCentralIndexKey>
    <ffd:OffsetTableNa
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      id="F_5ed65f86-3732-4ea1-a987-16cec0754a7e">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      id="F_eda33bb0-6ea9-4882-8a5e-6394f0eb0bf1">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      id="F_ad88d5ad-a6c5-4fe4-bd35-dcc73529c6f2">S-8</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      id="F_55c99e86-11f9-4d24-94b6-435eea542064">S-8</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      id="F_0d29829f-213d-48ad-8f5f-c2dd127838d6">Assembly Biosciences, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      id="F_28579f15-d5fb-4e70-97c8-0ab474d2d939">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      id="F_c12bdd8e-d08e-4e55-a62b-b82f9469b308">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      id="F_bbf80fc8-ed9d-423c-b783-b80645a4caeb">Common Stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      id="F_3b43c731-9767-4d6f-a928-3d767498ebbc">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      decimals="INF"
      id="F_b46893af-d048-469c-a816-235a17929070"
      unitRef="U_shares">1200000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      decimals="2"
      id="F_d02701ed-78f7-4816-91ce-a9a20f5c15ff"
      unitRef="U_USD">31.55</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      decimals="-3"
      id="F_c965b236-78d4-4396-bdff-52c875c84b74"
      unitRef="U_USD">37860000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      decimals="8"
      id="F_6327a2ff-42c5-4241-82d0-ab8e1c988a5b"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      decimals="2"
      id="F_ed0e0b63-4a6f-413c-a5e3-cd99b2e258c1"
      unitRef="U_USD">5228.47</ffd:FeeAmt>
    <ffd:PrevslyPdFlg
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      id="F_b33fff06-3dfe-4016-adb6-a12c7c32ba3b">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      id="F_e8556489-b6e4-4838-9a74-79a55d251672">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      id="F_eb5f2020-80f7-4f1e-802e-b93f0488bbe3">Common Stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      id="F_37f7866b-1003-4761-a120-452eafbbf45a">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      decimals="INF"
      id="F_173ff9e9-54fc-4b64-be60-0156daeca90f"
      unitRef="U_shares">290000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      decimals="2"
      id="F_f3a65dcb-06f6-4db5-8333-1569373e8451"
      unitRef="U_USD">31.55</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      decimals="0"
      id="F_4841ed02-3031-472b-9d7a-c0cbf43117db"
      unitRef="U_USD">9149500</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      decimals="8"
      id="F_af3ce7ee-bc96-41fe-adb0-6c0ef1e98433"
      unitRef="U_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      decimals="2"
      id="F_598b2c5d-54e6-4562-9371-c5dbb132cf26"
      unitRef="U_USD">1263.55</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      decimals="0"
      id="F_50a54f4f-2884-4344-87d9-95c3e81143de"
      unitRef="U_USD">47009500</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      decimals="2"
      id="F_ef5fbccd-697b-46fe-ac41-c133de93528e"
      unitRef="U_USD">6492.02</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      decimals="0"
      id="F_af2cf63c-a096-4af5-b4e8-87755738ce02"
      unitRef="U_USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="C_7959c289-a58a-4f19-b0f9-3f034ff5a207"
      decimals="2"
      id="F_ee73d4dd-13e7-426b-aac2-38ba78033436"
      unitRef="U_USD">6492.02</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="C_18597e3c-0978-4c3d-b2dd-bfa9c5f24028"
      id="F_0f451a00-96c2-4568-9dc5-5b5ba61d5183">&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:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;(1)	Represents (a) an aggregate of 1,200,000 additional shares of common stock, par value $0.001 per share (the &#x201c;&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;text-decoration:underline solid;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;Common Stock&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;&#x201d;), reserved for issuance under the Assembly Biosciences, Inc. Amended and Restated 2018 Stock Incentive Plan, as amended (the &#x201c;&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;text-decoration:underline solid;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;2018 Plan&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;&#x201d;), and (b) 290,000 additional shares of Common Stock reserved for issuance under the Assembly Biosciences, Inc. Second Amended and Restated 2018 Employee Stock Purchase Plan, as amended (the "&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;text-decoration:underline solid;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;2018 ESPP&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;"). Pursuant to Rule 416 under the Securities Act of 1933, as amended (the &#x201c;&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;text-decoration:underline solid;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;Securities Act&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;&#x201d;), this Registration Statement shall also register an indeterminate number of shares that may become issuable under the 2018 Plan and the 2018 ESPP by reason of any stock dividend, stock split or similar transaction effected without the receipt of consideration that results in an increase in the number of the outstanding shares of Common Stock.&lt;/span&gt;&lt;/p&gt;&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:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;(2)	Estimated solely for the purpose of calculating the registration fee in accordance with Rule 457(h) of the Securities Act. The proposed maximum aggregate offering price is calculated pursuant to Rule 457(c) and Rule 457(h) under the Securities Act based on the average of the high and low sale prices of the Registrant&#x2019;s common stock as reported by The Nasdaq Global Select Market on August 17, 2026.&lt;/span&gt;&lt;/p&gt;</ffd:OfferingNote>
    <ffd:OfferingNote
      contextRef="C_7a69d31e-6677-456b-9a95-fcbd5b358121"
      id="F_ac37efe2-8d0a-4776-9cf5-2e684279580e">&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:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;(1)	Represents (a) an aggregate of 1,200,000 additional shares of common stock, par value $0.001 per share (the &#x201c;&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;text-decoration:underline solid;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;Common Stock&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;&#x201d;), reserved for issuance under the Assembly Biosciences, Inc. Amended and Restated 2018 Stock Incentive Plan, as amended (the &#x201c;&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;text-decoration:underline solid;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;2018 Plan&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;&#x201d;), and (b) 290,000 additional shares of Common Stock reserved for issuance under the Assembly Biosciences, Inc. Second Amended and Restated 2018 Employee Stock Purchase Plan, as amended (the "&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;text-decoration:underline solid;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;2018 ESPP&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;"). Pursuant to Rule 416 under the Securities Act of 1933, as amended (the &#x201c;&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;text-decoration:underline solid;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;Securities Act&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;&#x201d;), this Registration Statement shall also register an indeterminate number of shares that may become issuable under the 2018 Plan and the 2018 ESPP by reason of any stock dividend, stock split or similar transaction effected without the receipt of consideration that results in an increase in the number of the outstanding shares of Common Stock.&lt;/span&gt;&lt;/p&gt;&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:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;(2)	Estimated solely for the purpose of calculating the registration fee in accordance with Rule 457(h) of the Securities Act. The proposed maximum aggregate offering price is calculated pursuant to Rule 457(c) and Rule 457(h) under the Securities Act based on the average of the high and low sale prices of the Registrant&#x2019;s common stock as reported by The Nasdaq Global Select Market on August 17, 2026.&lt;/span&gt;&lt;/p&gt;</ffd:OfferingNote>
</xbrl>
