<?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_9e0c1f03-a00b-4380-ab9e-07a824e5609b">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-17</startDate>
            <endDate>2026-11-17</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:RegnFileNb
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_b5e83a6c-e522-4247-bd32-9cba0a87c2a1">333-284538</ffd:RegnFileNb>
    <ffd:FormTp
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_51c79f3e-5d52-436b-9ee9-3d7ac872b1ec">S-3</ffd:FormTp>
    <dei:EntityRegistrantName
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_b3024f6d-4d74-4d89-818c-ff3cc4c29c7a">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_f8b09771-7408-46ba-b2ee-2ae6a7279ade">N/A</ffd:OfferingTableNa>
    <ffd:SubmissnTp
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_e65289d9-b6d0-4938-bc26-dac468cbc9d1">424B2</ffd:SubmissnTp>
    <dei:EntityCentralIndexKey
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_136b4d00-b104-463e-b09c-fdc632acdc9f">0000886982</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_9b303a7f-eff8-4a7f-afa0-b26497b5e275">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_05f0ded3-6ded-4f45-bff6-a2b82d988c34">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetTableNa
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_8d621649-ca37-4bcb-9b8a-65fac33decc4">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      id="F_868c003e-a415-49a0-915a-bd3d579288b7">&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;321,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_9e0c1f03-a00b-4380-ab9e-07a824e5609b"
      decimals="-3"
      id="F_169596e7-38b8-4cfc-a58b-8760d61d362b"
      unitRef="U_USD">321000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
