<?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_7fce0b92-7d3e-4857-bfbb-7ca64578c138">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-20</startDate>
            <endDate>2026-11-20</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FeeExhibitTp
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_59bad7fa-5f2e-4243-85b1-5dfd1a39ad7b">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_b9f09ea8-c962-489d-ad54-8695905e3902">0000886982</dei:EntityCentralIndexKey>
    <ffd:CombinedProspectusTableNa
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_63aa8f43-aa7c-440d-8502-24223cc029f9">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityRegistrantName
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_7797c283-37b6-4581-8c52-a71327ffc6e0">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_f4490168-2835-47e2-b640-4dcf0bf71cd9">N/A</ffd:OfferingTableNa>
    <ffd:SubmissnTp
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_72893a6a-ac60-4869-854a-578a383e1795">424B2</ffd:SubmissnTp>
    <ffd:FormTp
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_5e0416e0-56f2-40d3-bec3-61b603954419">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_7d24e952-3110-4fa1-af8b-0a793c142fa6">333-284538</ffd:RegnFileNb>
    <ffd:OffsetTableNa
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_776b3cf4-aeba-48d7-9188-99c067a3b4cf">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      id="F_af749476-cae9-4670-b7e1-fe19c840b022">&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,874,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_7fce0b92-7d3e-4857-bfbb-7ca64578c138"
      decimals="-3"
      id="F_e23bd497-3f02-438a-8af2-2ea88b442875"
      unitRef="U_USD">1874000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
