<?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_fc181393-93b6-4e1c-9285-5d2aedc8156d">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-09-15</startDate>
            <endDate>2026-09-15</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_ccf0d2d5-932b-4ff4-b204-1d45a8aeef9f">0000886982</dei:EntityCentralIndexKey>
    <ffd:OffsetTableNa
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_b8778757-928d-46a9-b24a-b465b1b4d2fa">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_3fe6db50-ca54-4b86-a6f1-ed3d50e3f6d8">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_8ea50572-b087-4d59-a79c-293f9a3555bc">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:CombinedProspectusTableNa
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_9298f5f6-2065-4593-b57b-2081efb5c5ad">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_95536b6e-71ae-4c4d-b961-2d7b5a41d12f">S-3</ffd:FormTp>
    <ffd:SubmissnTp
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_1ab78e4e-d86b-450b-ad7e-af3765cc2145">424B2</ffd:SubmissnTp>
    <ffd:OfferingTableNa
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_9c87c615-bff5-4f56-bdfd-14495da2b69b">N/A</ffd:OfferingTableNa>
    <ffd:RegnFileNb
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_8b48369e-002f-4874-8981-cef12d3806d6">333-284538</ffd:RegnFileNb>
    <ffd:NrrtvDsclsr
      contextRef="C_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      id="F_c31ee93e-9084-4b23-a5ce-94adabc330f5">&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;10,559,300&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_fc181393-93b6-4e1c-9285-5d2aedc8156d"
      decimals="0"
      id="F_4737e376-f287-41cc-adce-91099051f61c"
      unitRef="U_USD">10559300</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
