<?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: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_b41875b8-37f0-413d-ae6c-6bb962c0a95c">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-09-30</startDate>
            <endDate>2026-09-30</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OffsetTableNa
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_684392ec-bb1b-4ac5-89fc-25532ee7a041">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_81387cc4-4ca5-43b8-abe6-01f134ba3860">N/A</ffd:CombinedProspectusTableNa>
    <ffd:RegnFileNb
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_9af3e0e1-5673-42d7-bf54-30bdc33f0c7d">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_11d375f8-37ac-4c60-b0f0-1555168c3cdb">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_99ca89da-40ae-485b-96d9-544164dcfca7">N/A</ffd:OfferingTableNa>
    <ffd:FormTp
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_40efaa4b-f9d2-42af-a350-7b90d1eb9a2e">S-3</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_5b8ec724-393f-4a12-a479-aa6e081e0c8d">424B2</ffd:SubmissnTp>
    <dei:EntityCentralIndexKey
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_19bbbc71-395a-4b2a-a1f8-1030b35ffc12">0000886982</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_8224ffc1-e973-4e66-a878-6b2b72ab9bb1">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:NrrtvDsclsr
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      id="F_407df713-adc5-4a4d-8017-0078f91a9af6">&lt;p style="tab-size:26.66px;font-size:12pt;margin-top:0;font-family:Times New Roman;margin-bottom:12pt;text-align:left;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:12pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;The prospectus to which this Exhibit is attached is a final prospectus for the related offering.  The maximum aggregate offering price for such offering is $&lt;/span&gt;&lt;span style="font-size:12pt;font-family:Times New Roman;color:#000000;white-space:pre-wrap;font-kerning:none;min-width:fit-content;"&gt;40,432,200&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:12pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;.&lt;/span&gt;&lt;/p&gt;</ffd:NrrtvDsclsr>
    <ffd:NrrtvMaxAggtOfferingPric
      contextRef="C_b41875b8-37f0-413d-ae6c-6bb962c0a95c"
      decimals="0"
      id="F_bd3be5f3-ff2f-40a4-a10e-84ece1e06de2"
      unitRef="U_USD">40432200</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
