<?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_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-03</startDate>
            <endDate>2026-11-03</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_1d716150-cab9-4705-a50f-f055d5e0f973">0000886982</dei:EntityCentralIndexKey>
    <ffd:OfferingTableNa
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_553e3ea1-4b30-4091-aa5b-95b28bf37185">N/A</ffd:OfferingTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_3ee0ee15-dfb5-4b69-9c14-539ae3ab05cb">N/A</ffd:CombinedProspectusTableNa>
    <ffd:RegnFileNb
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_7191c183-c524-4b26-8489-71c7b76f3f24">333-284538</ffd:RegnFileNb>
    <ffd:OffsetTableNa
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_6077e54b-dfc1-480c-a36d-cb9d381e5391">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_47fe21d0-41c3-4dff-a281-1f0c61b59b85">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:SubmissnTp
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_8eea40a9-ff68-4526-bbb2-80426faecf15">424B2</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_5e5ffdad-d69b-4d7a-85b3-c14b7a141fce">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_a9c275bb-92a0-41b8-9e95-adbe36b83119">S-3</ffd:FormTp>
    <ffd:NrrtvDsclsr
      contextRef="C_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      id="F_f47f072d-e580-4b1d-bafe-db84a5001059">&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;2,052,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_50f51bc8-5f02-4fe4-bfc1-245ce2d7ad72"
      decimals="-3"
      id="F_8b2e23d3-fd79-4398-9565-4f482d69aa89"
      unitRef="U_USD">2052000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
