<?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_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-06</startDate>
            <endDate>2026-11-06</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:CombinedProspectusTableNa
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_c5bafac0-7500-49e6-ad11-93bde954f4d0">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityRegistrantName
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_8dc66192-d1a1-4e06-a0ac-78a7aca8977b">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OffsetTableNa
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_518617e3-d8f3-4949-a5e0-440ba5bdc8ae">N/A</ffd:OffsetTableNa>
    <ffd:FormTp
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_686cc09b-b201-43f1-a00d-cae03641ad1f">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_e897c21e-fcd0-4fed-b618-2cab75cbc3e4">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_57d75f4d-f98a-4379-bd83-f7bfc15a090b">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_f31940fc-ae76-482a-82a1-eced0a06008d">N/A</ffd:OfferingTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_7f75b1d3-2d42-4cd8-b6cf-b38fed493f84">0000886982</dei:EntityCentralIndexKey>
    <ffd:SubmissnTp
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_48c0504c-9f0a-4a50-bca3-0e1b6ede263f">424B2</ffd:SubmissnTp>
    <ffd:NrrtvDsclsr
      contextRef="C_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      id="F_97116b50-8922-40bb-a7f5-bf6144df36c7">&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;40,575,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_7ac1e255-9cb3-476e-9a08-c5e98cbe1d8b"
      decimals="-3"
      id="F_146054ad-6f15-4ae2-a2d2-59759ca47403"
      unitRef="U_USD">40575000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
