<?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_13fa2a6b-5bc8-412d-af5c-9394affdeff1">
        <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:OffsetTableNa
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_1fa9f747-a9db-49bc-94a2-e14b6e65151d">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_2792462d-9865-4ff8-b949-872e0bc6fa53">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_a56e3494-6eaa-431e-8076-ae862df946aa">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_574e1fef-1e01-4b63-8ee5-75338fb8e082">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_a89851b2-9601-4043-adea-074cfebea539">333-284538</ffd:RegnFileNb>
    <dei:EntityRegistrantName
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_d0068817-271c-468f-93e5-965b03b6c386">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:SubmissnTp
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_b432fcab-afc1-47a1-8c6d-1ba83e75ec9b">424B2</ffd:SubmissnTp>
    <ffd:FeeExhibitTp
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_ea60866d-95f5-440a-a96a-e9ad27190f29">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_df10c392-1717-4f8a-a04e-18e6c271795b">N/A</ffd:OfferingTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      id="F_01d7989b-3577-4566-bc59-7e193493058f">&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;250,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_13fa2a6b-5bc8-412d-af5c-9394affdeff1"
      decimals="-3"
      id="F_50dc41b5-0763-4a29-9458-a8c4074e9b9f"
      unitRef="U_USD">250000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
