<?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_52268a33-aefe-40c0-885e-afff034297e8">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-06</startDate>
            <endDate>2026-11-06</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:SubmissnTp
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_fc45c751-ef3f-470f-b25c-0abf7768dfcd">424B2</ffd:SubmissnTp>
    <ffd:OfferingTableNa
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_dca581e4-dd64-4401-a426-4f098447294e">N/A</ffd:OfferingTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_0b9e7a17-0fed-4a8e-9a38-4ed0f5881ced">0000886982</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_756d0b24-d9b7-457f-8c95-65479445e1a3">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_3e173e24-fe66-42ea-b06d-b023d730c603">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_fdff204d-d485-46b2-80cf-faa879daca96">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_5729bafe-f0e2-4222-a732-bddd7e71abd1">333-284538</ffd:RegnFileNb>
    <ffd:OffsetTableNa
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_13dde7b0-309c-4c11-8d09-f45dc5e5fce8">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_b1ff5bb4-b4e7-461f-a0e9-383d13ad6307">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_52268a33-aefe-40c0-885e-afff034297e8"
      id="F_03c8cb88-6489-41f7-8e82-014fdc798182">&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;15,703,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_52268a33-aefe-40c0-885e-afff034297e8"
      decimals="-3"
      id="F_d4d91292-88c3-40f4-a810-dc8becb14ce2"
      unitRef="U_USD">15703000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
