<?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_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-13</startDate>
            <endDate>2026-11-13</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FeeExhibitTp
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_d7de8b70-f138-426a-b4bd-c18f4724e01b">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_9a28995c-c5b4-48d5-8b27-54d8800ba798">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_8871b7de-688e-412d-a354-df725fcf25c8">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_0f3e71d5-9782-4e71-a693-f7ed65f6b4a4">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_8efbfc3b-c32d-4759-9758-940e9c94985e">424B2</ffd:SubmissnTp>
    <ffd:OfferingTableNa
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_f9a85dc0-7e03-44df-abec-28c9b4647d6c">N/A</ffd:OfferingTableNa>
    <dei:EntityRegistrantName
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_1407e828-adc7-4e1d-9c77-5421dbfadc14">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_d61f2c20-e9ab-4145-bcaf-91615a0e31d6">S-3</ffd:FormTp>
    <ffd:OffsetTableNa
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_94ecf8e2-e3b9-4330-8683-e8e421b30d6a">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      id="F_57d021ea-5f57-4d7f-95f5-1a555ee46e88">&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 $&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,196,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_3381e634-91fe-44fe-9cd9-8d2e5d28d0e1"
      decimals="-3"
      id="F_73496d22-70e6-4e02-8d7e-389b9f9eadae"
      unitRef="U_USD">1196000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
