<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c_offering_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001676238</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-24</startDate>
            <endDate>2026-03-24</endDate>
        </period>
    </context>
    <context id="c_offering_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001676238</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-24</startDate>
            <endDate>2026-03-24</endDate>
        </period>
    </context>
    <context id="c_report">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001676238</identifier>
        </entity>
        <period>
            <startDate>2026-03-24</startDate>
            <endDate>2026-03-24</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:SubmissnTp contextRef="c_report" id="fee_001">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c_report" id="fee_002">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="c_report" id="fee_003">0001676238</dei:EntityCentralIndexKey>
    <ffd:PrevslyPdFlg contextRef="c_offering_1" id="fee_004">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="c_offering_2" id="fee_005">false</ffd:PrevslyPdFlg>
    <ffd:OfferingTableNa contextRef="c_report" id="fee_006" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="c_report" id="fee_007">N/A</ffd:OffsetTableNa>
    <ffd:FormTp contextRef="c_report" id="fee_008">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c_report" id="fee_009">BRAZE, INC.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="c_offering_1" id="fee_010">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_1" id="fee_011">Class A common stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_1" id="fee_012">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_1"
      decimals="0"
      id="fee_013"
      unitRef="shares">5638532</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_014"
      unitRef="USD">18.15</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_015"
      unitRef="USD">102339355.80</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_016"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_017"
      unitRef="USD">14133.07</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="c_offering_2" id="fee_018">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_2" id="fee_019">Class A common stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_2" id="fee_020">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_2"
      decimals="0"
      id="fee_021"
      unitRef="shares">1127706</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_022"
      unitRef="USD">15.43</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_023"
      unitRef="USD">17400503.58</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_024"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_025"
      unitRef="USD">2403.01</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_026"
      unitRef="USD">119739859.38</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_027"
      unitRef="USD">16536.08</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_028"
      unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_029"
      unitRef="USD">16536.08</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c_offering_1" id="fee_030">(a) Pursuant to Rule 416(a) promulgated under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this Registration Statement shall also cover any additional shares of Registrant&#x2019;s Class A common stock that become issuable under the plans set forth herein by reason of any stock dividend, stock split, recapitalization, or other similar transaction effected that results in an increase to the number of outstanding shares of Registrant&#x2019;s Class A common stock.&lt;br/&gt;&lt;br/&gt;(b) The Amount Registered represents an automatic annual increase equal to (i) 5,638,532 shares of Registrant&#x2019;s Class A common stock, which is 5% of the total number of shares of the Registrant&#x2019;s Class A common stock outstanding on the last day of the immediately preceding fiscal year to the aggregate number of shares of the Registrant&#x2019;s Class A common stock reserved for issuance under, and which annual increase is provided by, the Registrant&#x2019;s 2021 Equity Incentive Plan (as amended, the &#x201c;2021 Plan&#x201d;) and (ii) 1,127,706 shares of the Registrant&#x2019;s Class A common stock, which is 1% of the total number of shares of the Registrant&#x2019;s Class A common stock outstanding on the last day of the immediately preceding fiscal year to the aggregate number of shares of the Registrant&#x2019;s Class A common stock reserved for issuance under, and which annual increase is provided by, the Registrant&#x2019;s 2021 Employee Stock Purchase Plan (the &#x201c;2021 ESPP&#x201d;).&lt;br/&gt;&lt;br/&gt;(c) The Proposed Maximum Offering Price Per Share is estimated solely for purposes of calculating the registration fee pursuant to Rule 457(c) and Rule 457(h) under the Securities Act. The Proposed Maximum Offering Price Per Share and the Proposed Maximum Aggregate Offering Price are based on $18.15, the average of the high and low prices of the Registrant&#x2019;s Class A common stock as reported on the Nasdaq Global Select Market on March 24, 2026. Under the 2021 ESPP, the purchase price of a share of common stock is equal to 85% of the fair market value of the Registrant&#x2019;s Class A common stock on the offering date or the purchase date, whichever is less. The Amount of Registration Fee is rounded up to the nearest penny.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_2" id="fee_031">Please see Offering Note (1).</ffd:OfferingNote>
</xbrl>
