<?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_6c3c4987-42b8-4ecd-954c-72aab579413e">
        <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>
    <dei:EntityRegistrantName
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_60e9a6cf-594f-40a3-9fca-dd0a16a6b670">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_1298c11e-f0b7-46d7-8acf-e7114ce219c0">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_e229fd35-5407-4624-8e07-7a15a2b5778a">N/A</ffd:OfferingTableNa>
    <ffd:RegnFileNb
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_c2f20502-940c-40a5-a02c-8fb6495b5571">333-284538</ffd:RegnFileNb>
    <ffd:FormTp
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_84f9c237-b7e1-45d7-a05d-5295d1921614">S-3</ffd:FormTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_d80ab78b-c362-4015-b550-ef90c7a77f05">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetTableNa
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_0add9222-330a-430b-84db-e63b2cdcc510">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_f7223a14-05dc-4ec7-ad26-fdd1ae2f7e1c">424B2</ffd:SubmissnTp>
    <dei:EntityCentralIndexKey
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_e34b0367-1864-474f-9102-0c2a910fd235">0000886982</dei:EntityCentralIndexKey>
    <ffd:NrrtvDsclsr
      contextRef="C_6c3c4987-42b8-4ecd-954c-72aab579413e"
      id="F_ba68700e-6952-4618-be6f-e45eef1eb2b3">&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;5,081,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_6c3c4987-42b8-4ecd-954c-72aab579413e"
      decimals="-3"
      id="F_397d5add-1e13-498b-b7c9-1a416d8f1aa7"
      unitRef="U_USD">5081000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
