<?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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002021728</identifier>
        </entity>
        <period>
            <startDate>2026-05-14</startDate>
            <endDate>2026-05-14</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002021728</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-14</startDate>
            <endDate>2026-05-14</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002021728</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-14</startDate>
            <endDate>2026-05-14</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002021728</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-14</startDate>
            <endDate>2026-05-14</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002021728</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-14</startDate>
            <endDate>2026-05-14</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002021728</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-14</startDate>
            <endDate>2026-05-14</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002021728</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-14</startDate>
            <endDate>2026-05-14</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-271">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-272">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-273">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-274">0002021728</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-275">Cerebras Systems Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-278">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-279">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-280">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_4" id="ixv-281">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_5" id="ixv-282">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_6" id="ixv-283">false</ffd:PrevslyPdFlg>
    <ffd:FormTp contextRef="rc" id="ixv-353">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-354">Cerebras Systems Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-355">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-356">Class B common stock, par value $0.00001 per share ("Class B Common Stock"), reserved for issuance pursuant to restricted stock units outstanding  under the  Registrant's 2016 Incentive Award Plan (the "2016 Plan")</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_1" id="ixv-357">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-358"
      unitRef="Shares">27044029</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-359"
      unitRef="USD">185.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-360"
      unitRef="USD">5003145365.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-361"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-362"
      unitRef="USD">690934.37</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-363">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-364">Class B Common Stock reserved for issuance upon the exercise of options outstanding under the 2016 Plan</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_2" id="ixv-365">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_2"
      decimals="0"
      id="ixv-366"
      unitRef="Shares">26838155</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_2"
      decimals="4"
      id="ixv-367"
      unitRef="USD">4.9374</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_2"
      decimals="2"
      id="ixv-368"
      unitRef="USD">132510706.50</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-369"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_2"
      decimals="2"
      id="ixv-370"
      unitRef="USD">18299.73</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-371">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-372">Class A common stock, par value $0.00001 per share ("Class A Common Stock"), issuable upon conversion of Class B Common Stock reserved for issuance pursuant to restricted stock units outstanding under the 2016 Plan</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_3" id="ixv-373">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_3"
      decimals="0"
      id="ixv-374"
      unitRef="Shares">27044029</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_3"
      decimals="2"
      id="ixv-375"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-376"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_3"
      decimals="2"
      id="ixv-377"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-378">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-379">Class A Common Stock, issuable upon conversion of Class B Common Stock reserved for issuance upon the exercise of options outstanding under the 2016 Plan</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_4" id="ixv-380">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_4"
      decimals="0"
      id="ixv-381"
      unitRef="Shares">26838155</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_4"
      decimals="2"
      id="ixv-382"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="7"
      id="ixv-383"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_4"
      decimals="2"
      id="ixv-384"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-385">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-386">Class A Common Stock reserved for issuance pursuant awards under the Registrant's 2026 Incentive Award Plan (the "2026 Plan")</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_5" id="ixv-387">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_5"
      decimals="0"
      id="ixv-388"
      unitRef="Shares">44899356</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_5"
      decimals="2"
      id="ixv-389"
      unitRef="USD">185.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_5"
      decimals="2"
      id="ixv-390"
      unitRef="USD">8306380860.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_5"
      decimals="7"
      id="ixv-391"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_5"
      decimals="2"
      id="ixv-392"
      unitRef="USD">1147111.20</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-393">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_6" id="ixv-394">Class A Common Stock reserved for issuance pursuant to awards under the Registrant's Employee Stock Purchase Plan (the "ESPP")</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_6" id="ixv-395">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_6"
      decimals="0"
      id="ixv-396"
      unitRef="Shares">3554189</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_6"
      decimals="2"
      id="ixv-397"
      unitRef="USD">185.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_6"
      decimals="2"
      id="ixv-398"
      unitRef="USD">657524965.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_6"
      decimals="7"
      id="ixv-399"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_6"
      decimals="2"
      id="ixv-400"
      unitRef="USD">90804.20</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-401" unitRef="USD">14099561896.50</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-402" unitRef="USD">1947149.50</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-403" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-404" unitRef="USD">1947149.50</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-405">(a) Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the "Securities Act"), this registration statement ("Registration Statement") shall also cover any additional shares of Class A Common Stock or Class B Common Stock that become issuable under the 2016 Plan, the 2026 Plan, and the ESPP, by reason of any stock dividend, stock split, recapitalization, or other similar transaction effected without receipt of consideration that results in an increase to the number of outstanding shares of Class A Common Stock or Class B Common Stock, as applicable.

(b) Any shares of Class A Common Stock or Class B Common Stock that are subject to awards under the 2016 Plan that (i) expire, lapse, or are terminated, exchanged for or settled in cash, surrendered, repurchased, canceled without having been fully exercised, or forfeited, in any case, in a manner that results in the Registrant acquiring shares covered by the award at a price not greater than the price (as adjusted to reflect any equity restructuring) paid by the participant for such shares or not issuing any shares covered by the award or (ii) shares delivered (either by actual delivery or attestation) to the Registrant by a participant to satisfy the applicable exercise or purchase price of an award and/or to satisfy any applicable tax withholding obligation with respect to an award (including shares retained by the Registrant from the award being exercised or purchased and/or creating the tax obligation), will be available for issuance as Class A Common Stock under the 2026 Plan.

(c) Estimated solely for the purpose of calculating the registration fee in accordance with Rule 457(h) under the Securities Act. The proposed maximum offering price per share and the proposed maximum aggregate offering price are based on the initial public offering price of the Class A Common Stock of $185.00 per share, as set forth in the Registrant's Registration Statement on Form S-1 (File No. 333-295145), as amended (the "S-1 Registration Statement"), that was declared effective on May 13, 2026. 

(d) Represents 27,044,029 shares of Class B Common Stock Stock underlying restricted stock unit awards outstanding under the 2016 Plan as of the date of this Registration Statement. 
</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-406">(a) See notes 1(a) and 1(b).

(b) Represents 26,838,155 shares Class B Common Stock Stock issuable upon the exercise of stock options to purchase shares of Class B Common Stock outstanding under the 2016 Plan as of the date of this Registration Statement.

(c) Estimated solely for purposes of calculating the registration fee in accordance with Rule 457(h) under the Securities Act. The proposed maximum offering price per share and the proposed maximum aggregate offering price are based upon $4.9374, which is the weighted-average exercise price for Class B Common Stock options outstanding under the 2016 Plan as of the date of this Registration Statement.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-407">(a) See notes 1(a) and 1(b)

(b) Pursuant to Rule 457(i) under the Securities Act, there is no fee associated with the registration of Class A Common Stock issuable upon conversion of any Class B Common Stock (a convertible security) being registered under this Registration Statement because no additional consideration will be received in connection with the conversion of Class B Common Stock.

(c) Represents Class A Common Stock issuable upon conversion, on a one-for-one basis, of shares of Class B Common Stock underlying restricted stock unit awards outstanding under the 2016 Plan as of the date of this Registration Statement.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_4" id="ixv-408">(a) See notes 1(a), 1(b), and 3(a).

(b) Represents Class A Common Stock issuable upon conversion, on a one-for-one basis, of shares of Class B Common Stock issuable upon the exercise of options to purchase shares of Class B Common Stock outstanding under the 2016 Plan as of the date of this Registration Statement.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_5" id="ixv-409">(a) See notes 1(a) and 1(b).

(b) Represents 44,899,356 shares of Class A Common Stock reserved for future issuance under the 2026 Plan as of the date of this Registration Statement, consisting of 42,650,268 shares of Class A Common Stock reserved for future issuance under the 2026 Plan as of the effectiveness of the 2026 Plan, plus 2,249,088 shares of Class A Common Stock that were withheld to satisfy estimated tax withholding and remittance obligations in connection with the vesting and settlement of restricted stock units and are now available for issuance under the 2026 Plan, as described in footnote 1(b). The number of shares of reserved for issuance under the 2026 Plan will automatically increase on January 1st of each year, starting on January 1, 2027 and continuing annually on the anniversary thereof through (and including) January 1, 2036, equal to the lesser of (A) five percent (5%) of the sum of (1) all shares of all classes of the Registrant's common stock, and (2) the number of shares  issuable upon the exercise of warrants to purchase shares of the Registrant's common stock with an exercise price per share of  $0.01 or less, in each case, outstanding on the last day of the immediately preceding fiscal year and (B) such smaller number of shares as determined by the Registrant's board of directors.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_6" id="ixv-410">(a) See note 1(a).

(b) Represents 3,554,189 shares of Class A Common Stock reserved for future issuance under the ESPP. The number of shares of reserved for issuance under the ESPP will automatically increase on January 1st of each year, starting on January 1, 2027 and continuing annually on the anniversary thereof through (and including) January 1, 2036, equal to the lesser of (A) one percent (1%) of of the sum of (1) all shares of all classes of the Registrant's common stock, and (2) the number of shares  issuable upon the exercise of warrants to purchase shares of the Registrant's common stock with an exercise price per share of $0.01 or less, in each case, outstanding on the last day of the immediately preceding fiscal year and (B) such smaller number of shares as determined by the Registrant's board of directors. 

(c) Estimated solely for the purpose of calculating the registration fee in accordance with Rule 457(h) under the Securities Act. The proposed maximum offering price per share and the proposed maximum aggregate offering price are based on the initial public offering price of the Class A Common Stock of $185.00 per share, as set forth in the S-1 Registration Statement, multiplied by 85%, which reflects the discount to the purchase price applicable to purchases under the ESPP.


</ffd:OfferingNote>
</xbrl>
