<?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_fb41714d-247e-4366-812f-ba629dc85571">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-24</startDate>
            <endDate>2026-11-24</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_1227aa8c-0063-42ff-8996-0740d3b5e098">0000886982</dei:EntityCentralIndexKey>
    <ffd:OfferingTableNa
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_2add7673-351e-4feb-90bb-0fb5de3b2095">N/A</ffd:OfferingTableNa>
    <ffd:FormTp
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_e4296f41-e087-4009-91e3-b82ee938e843">S-3</ffd:FormTp>
    <ffd:FeeExhibitTp
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_edae701e-180f-42f8-b384-1ca53d19ac35">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_e2cc1837-27ee-499f-878b-afe254dbc7f9">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityRegistrantName
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_7d95990a-db63-4bf1-b59f-d8906f61e57d">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:RegnFileNb
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_1c6eaa23-bf10-49d4-b556-9625854f7b1a">333-284538</ffd:RegnFileNb>
    <ffd:OffsetTableNa
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_b37c3fdb-3521-4538-a35b-52665351c361">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_2f4b6e23-e648-4792-84e0-31bb261dfe53">424B2</ffd:SubmissnTp>
    <ffd:NrrtvDsclsr
      contextRef="C_fb41714d-247e-4366-812f-ba629dc85571"
      id="F_5ee11878-5239-4fa5-abaa-ea3cc2785bd4">&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;1,845,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_fb41714d-247e-4366-812f-ba629dc85571"
      decimals="-3"
      id="F_2b21837f-7e88-466d-9618-84ea86011632"
      unitRef="U_USD">1845000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
