<?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">0002114044</identifier>
        </entity>
        <period>
            <startDate>2026-05-01</startDate>
            <endDate>2026-05-01</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002114044</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-01</startDate>
            <endDate>2026-05-01</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002114044</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-01</startDate>
            <endDate>2026-05-01</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002114044</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-01</startDate>
            <endDate>2026-05-01</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-210">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-211">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-212">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-213">0002114044</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-214">Hemab Therapeutics Holdings, 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-217">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-218">false</ffd:PrevslyPdFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-219">false</ffd:PrevslyPdFlg>
    <ffd:FormTp contextRef="rc" id="ixv-262">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-263">Hemab Therapeutics Holdings, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-264">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-265">Common Stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_1" id="ixv-266">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-267"
      unitRef="Shares">4291100</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-268"
      unitRef="USD">31.78</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-269"
      unitRef="USD">136371158.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-270"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-271"
      unitRef="USD">18832.86</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-272">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-273">Common Stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_2" id="ixv-274">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_2"
      decimals="0"
      id="ixv-275"
      unitRef="Shares">306900</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_2"
      decimals="2"
      id="ixv-276"
      unitRef="USD">18.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_2"
      decimals="2"
      id="ixv-277"
      unitRef="USD">5524200.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-278"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_2"
      decimals="2"
      id="ixv-279"
      unitRef="USD">762.90</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-280">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-281">Common Stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_3" id="ixv-282">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_3"
      decimals="0"
      id="ixv-283"
      unitRef="Shares">4362116</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_3"
      decimals="2"
      id="ixv-284"
      unitRef="USD">5.84</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_3"
      decimals="2"
      id="ixv-285"
      unitRef="USD">25474757.44</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-286"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_3"
      decimals="2"
      id="ixv-287"
      unitRef="USD">3518.07</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-288" unitRef="USD">167370115.44</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-289" unitRef="USD">23113.83</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-290" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-291" unitRef="USD">23113.83</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-292">(A) In accordance with Rule 416 under the Securities Act of 1933, as amended (the "Securities Act"), this registration statement shall be deemed to cover any additional securities that may from time to time be offered or issued to prevent dilution resulting from stock splits, stock dividends or similar transactions. (B) Consists of (i) 3,873,100 shares issuable under the registrant's 2026 Equity Incentive Plan (the "2026 Plan") and (ii) 418,000 shares issuable under the registrant's 2026 Employee Stock Purchase Plan. (C) Estimated solely for the purpose of calculating the registration fee pursuant to Rules 457(c) and 457(h) of the Securities Act. The proposed maximum offering price per share is based on $31.78 per share, which is the average of the high and low sales prices of the registrant's common stock as reported on the Nasdaq Global Select Market on May 1, 2026.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-293">(A) See Note 1(A). (B) Consists of 306,900 shares issuable upon the exercise of stock options to acquire common stock granted under the 2026 Plan (the "Outstanding Options"). (C) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(h) of the Securities Act. The proposed maximum offering price per share is based on $18.00 per share, which is the exercise price of the Outstanding Options.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-294">(A) See Note 1(A). (B) Consists of 4,362,116 shares issuable upon the exercise of warrants to acquire common stock that were outstanding immediately prior to the effectiveness of the registrant's Registration Statement on Form S-1 (File No. 333-294989), as amended (the "Outstanding Warrants"). (C) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(h) of the Securities Act. The proposed maximum offering price per share is based on $5.84 per share, which is the weighted average exercise price of the Outstanding Warrants.</ffd:OfferingNote>
</xbrl>
