<?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_1a2caa3d-6830-482f-8d8e-2eeff918c707">
        <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>
    <ffd:FormTp
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_b27842f3-e123-48e9-9cbc-fc8d34bd8397">S-3</ffd:FormTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_c8ca4f86-e52e-4d22-a327-d4856b385af4">N/A</ffd:CombinedProspectusTableNa>
    <ffd:RegnFileNb
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_030d8655-1e3e-4e0b-b7eb-457e25666b09">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_c629b1a1-150b-4244-8923-c6eb8cb41422">424B2</ffd:SubmissnTp>
    <ffd:FeeExhibitTp
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_1800f9b5-db2c-45e9-b7d6-45d3fd2fa135">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_39408ffb-222a-4606-aa93-b9973898c72a">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_e50a4e96-7ea1-4a64-8628-9e0a4e814ff9">0000886982</dei:EntityCentralIndexKey>
    <ffd:OfferingTableNa
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_3c6fa27f-07bf-45eb-a6b0-d5c059f88f0b">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_057710b1-6bdd-40cd-915a-6dce50d7a9e1">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      id="F_aaf1f07c-3151-4697-9d4c-85a9eee0e458">&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,494,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_1a2caa3d-6830-482f-8d8e-2eeff918c707"
      decimals="-3"
      id="F_01b6ca76-f469-4162-9420-269e4be67794"
      unitRef="U_USD">1494000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
