<?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_94556198-6bfe-4a8c-bbf5-52a2b8568688">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-09</startDate>
            <endDate>2026-11-09</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FormTp
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_7c5b1a16-7b86-43c3-885c-93f0e5306ecc">S-3</ffd:FormTp>
    <ffd:FeeExhibitTp
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_ad224b24-96e3-4afa-a44e-6f212e1bcf9e">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_c12190a8-379e-4156-bb39-ca859fcdade1">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_3045b3a2-3fbd-4e4e-9cae-656a767469a4">424B2</ffd:SubmissnTp>
    <ffd:OfferingTableNa
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_f7d4cb93-65b5-42ae-90a9-9b65e4efa775">N/A</ffd:OfferingTableNa>
    <ffd:RegnFileNb
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_3e3d93de-b348-4a26-9930-4793837ee85a">333-284538</ffd:RegnFileNb>
    <dei:EntityCentralIndexKey
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_69b59deb-3e55-4743-a47e-dd148466a0d2">0000886982</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_aba493d7-cce6-46a9-bdd6-b90779d4eb11">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:CombinedProspectusTableNa
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_6210d02e-108b-47cc-a493-79fce26d2fbf">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      id="F_228a1041-d6f2-432a-9542-9dbb20672efa">&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;6,900,000&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_94556198-6bfe-4a8c-bbf5-52a2b8568688"
      decimals="-3"
      id="F_760bdc71-2925-466d-ae10-e4f94095cbe9"
      unitRef="U_USD">6900000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
