<?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">0002090787</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-19</startDate>
            <endDate>2026-03-19</endDate>
        </period>
    </context>
    <context id="c_offering_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002090787</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-19</startDate>
            <endDate>2026-03-19</endDate>
        </period>
    </context>
    <context id="c_offering_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002090787</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-19</startDate>
            <endDate>2026-03-19</endDate>
        </period>
    </context>
    <context id="c_offering_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002090787</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-19</startDate>
            <endDate>2026-03-19</endDate>
        </period>
    </context>
    <context id="c_offering_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002090787</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-19</startDate>
            <endDate>2026-03-19</endDate>
        </period>
    </context>
    <context id="c_offering_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002090787</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-19</startDate>
            <endDate>2026-03-19</endDate>
        </period>
    </context>
    <context id="c_offset_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002090787</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-19</startDate>
            <endDate>2026-03-19</endDate>
        </period>
    </context>
    <context id="c_offset_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002090787</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-19</startDate>
            <endDate>2026-03-19</endDate>
        </period>
    </context>
    <context id="c_report">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002090787</identifier>
        </entity>
        <period>
            <startDate>2026-03-19</startDate>
            <endDate>2026-03-19</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-1/A</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c_report" id="fee_002">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="c_report" id="fee_003">0002090787</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb contextRef="c_report" id="fee_004">333-294512</ffd:RegnFileNb>
    <ffd:OffsetClmdInd contextRef="c_offset_1" id="fee_005">true</ffd:OffsetClmdInd>
    <ffd:OffsetClmdInd contextRef="c_offset_2" id="fee_006">false</ffd:OffsetClmdInd>
    <ffd:OfferingTableNa contextRef="c_report" id="fee_007" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="c_report" id="fee_008" xsi:nil="true"/>
    <ffd:CombinedProspectusTableNa contextRef="c_report" id="fee_009">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="c_report" id="fee_010">S-1</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c_report" id="fee_011">Oceanhawk Acquisition Corp.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c_offering_1" id="fee_012">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_1" id="fee_013">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_1" id="fee_014">Rights included as part of the unit</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_1" id="fee_015">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_1"
      decimals="0"
      id="fee_016"
      unitRef="shares">13964285</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_017"
      unitRef="USD">0.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_018"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_019"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_020"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_2" id="fee_021">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_2" id="fee_022">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_2" id="fee_023">Class A ordinary shares underlying the rights included as part of the units</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_2" id="fee_024">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_2"
      decimals="0"
      id="fee_025"
      unitRef="shares">1026785</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_026"
      unitRef="USD">10.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_027"
      unitRef="USD">10267850.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_028"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_029"
      unitRef="USD">1418.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_3" id="fee_030">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_3" id="fee_031">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_3" id="fee_032">Units, each consisting of one Class A ordinary share, $0.0001 par value, and one right</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_3" id="fee_033">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_3"
      decimals="0"
      id="fee_034"
      unitRef="shares">23000000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_035"
      unitRef="USD">10.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_036"
      unitRef="USD">230000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_037"
      unitRef="USD">31763.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_4" id="fee_038">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_4" id="fee_039">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_4" id="fee_040">Class A ordinary shares included as part of the units</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_4" id="fee_041">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_4"
      decimals="0"
      id="fee_042"
      unitRef="shares">23000000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_043"
      unitRef="USD">0.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_044"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_045"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_5" id="fee_046">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_5" id="fee_047">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_5" id="fee_048">Rights included as part of the unit</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_5" id="fee_049">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_5"
      decimals="0"
      id="fee_050"
      unitRef="shares">3285715</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_5"
      decimals="INF"
      id="fee_051"
      unitRef="USD">0.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_5"
      decimals="INF"
      id="fee_052"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="c_offering_5"
      decimals="INF"
      id="fee_053"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_6" id="fee_054">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_6" id="fee_055">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_6" id="fee_056">Class A ordinary shares underlying the rights included as part of the units</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_6" id="fee_057">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_6"
      decimals="0"
      id="fee_058"
      unitRef="shares">3285715</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_6"
      decimals="INF"
      id="fee_059"
      unitRef="USD">10.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_6"
      decimals="INF"
      id="fee_060"
      unitRef="USD">32857143.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="c_offering_6"
      decimals="INF"
      id="fee_061"
      unitRef="USD">4537.57</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_062"
      unitRef="USD">273124993.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_063"
      unitRef="USD">37718.57</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_064"
      unitRef="USD">36300.57</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_065"
      unitRef="USD">1418.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_066"
      unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c_offering_1" id="fee_067">Estimated solely for the purpose of calculating the registration fee.&lt;br/&gt;&lt;br/&gt;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), there are also being registered an indeterminable number of additional securities as may be offered or issued to prevent dilution resulting from share subdivisions, stock dividends, or similar transactions.&lt;br/&gt;&lt;br/&gt;No fee pursuant to Rule 457(g) under the Securities Act.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Price is $215,624,993.00.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Fee is $29,777.81.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_2" id="fee_068">Estimated solely for the purpose of calculating the registration fee.&lt;br/&gt;&lt;br/&gt;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), there are also being registered an indeterminable number of additional securities as may be offered or issued to prevent dilution resulting from share subdivisions, stock dividends, or similar transactions.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Price is $215,624,993.00.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Fee is $29,777.81.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_3" id="fee_069">Estimated solely for the purpose of calculating the registration fee.&lt;br/&gt;&lt;br/&gt;Includes 3,000,000 units, consisting of 3,000,000 Class A ordinary shares and 428,572 rights, which may be issued upon exercise of a 45-day option granted to the underwriters to cover over-allotments, if any.&lt;br/&gt;&lt;br/&gt;Units being registered has been reduced from 23,000,000 to 17,250,000.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000, the price is reduced from $230,000,000 to $172,500,000.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000, the fee due is reduced from $31,763 to $23,822.25.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Price is $215,624,993.00.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Fee is $29,777.81.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_4" id="fee_070">Estimated solely for the purpose of calculating the registration fee.&lt;br/&gt;&lt;br/&gt;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), there are also being registered an indeterminable number of additional securities as may be offered or issued to prevent dilution resulting from share subdivisions, stock dividends, or similar transactions.&lt;br/&gt;&lt;br/&gt;No fee pursuant to Rule 457(g) under the Securities Act.&lt;br/&gt;&lt;br/&gt;Class A ordinary shares included as part of the units being registered has been reduced from 23,000,000 to 17,250,000.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Price is $215,624,993.00.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Fee is $29,777.81.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_5" id="fee_071">Estimated solely for the purpose of calculating the registration fee.&lt;br/&gt;&lt;br/&gt;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), there are also being registered an indeterminable number of additional securities as may be offered or issued to prevent dilution resulting from share subdivisions, stock dividends, or similar transactions.&lt;br/&gt;&lt;br/&gt;No fee pursuant to Rule 457(g) under the Securities Act.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Price is $215,624,993.00.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Fee is $29,777.81.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_6" id="fee_072">Estimated solely for the purpose of calculating the registration fee.&lt;br/&gt;&lt;br/&gt;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), there are also being registered an indeterminable number of additional securities as may be offered or issued to prevent dilution resulting from share subdivisions, stock dividends, or similar transactions.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Price is $215,624,993.00.&lt;br/&gt;&lt;br/&gt;With the reduction in the Units being registered from 23,000,000 to 17,250,000 and the increase in the Class A ordinary shares underlying the rights included as part of the units, the Total Offering Amounts Fee is $29,777.81.</ffd:OfferingNote>
    <ffd:Rule457bOffsetFlg contextRef="c_offset_1" id="fee_073">true</ffd:Rule457bOffsetFlg>
    <ffd:OffsetPrrFormTp contextRef="c_offset_1" id="fee_074">S-1</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="c_offset_1" id="fee_075">333-294512</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="c_offset_1" id="fee_076">2026-03-23</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt
      contextRef="c_offset_1"
      decimals="INF"
      id="fee_077"
      unitRef="USD">1418.00</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="c_offset_1" id="fee_078">Equity</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrSctyTitl contextRef="c_offset_1" id="fee_079">Units, each consisting of one Class A ordinary share, $0.0001 par value, and one right</ffd:OffsetPrrSctyTitl>
    <ffd:Rule457bOffsetFlg contextRef="c_offset_2" id="fee_080">true</ffd:Rule457bOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="c_offset_2" id="fee_081">Oceanhawk Acquisition Corp.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="c_offset_2" id="fee_082">S-1</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="c_offset_2" id="fee_083">333-294512</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="c_offset_2" id="fee_084">2026-03-23</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt
      contextRef="c_offset_2"
      decimals="INF"
      id="fee_085"
      unitRef="USD">36300.57</ffd:OffsetPrrFeeAmt>
    <ffd:OffsetExpltnForClmdAmt contextRef="c_offset_1" id="fee_086">A fee of $36,300.57 was previously paid in connection with the filing of Oceanhawk Acquisition Corp. Registration Statement on Form S-1 (No. 333-294512) on March 23, 2026 (the &#x201c;Initial Registration Statement&#x201d;), of which $36,300.57 remains unused. A portion of this is used to offset (a) the $23,822.25 of fees due for the registration of 17,250,000 Units, consisting of one Class A ordinary share, $0.0001 par value, and one right and (b) the $4,537.57 of fees dues for the registration of the Class A ordinary shares underlying the rights included as part of the units. $1,418.00 of the remaining $7,940.75 from the Initial Registration Statement payment shall be used to offset the $1,418.00 payment due with respect to the increase in the Class A ordinary shares underlying the rights included as part of the units being registered as part of this filing.</ffd:OffsetExpltnForClmdAmt>
</xbrl>
