<?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_62910d56-6f88-4642-a7f5-c275d6da2364">
        <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>
    <ffd:RegnFileNb
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_e3522507-39db-4ed8-8f3b-e5e77fed1d48">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_e4679a2e-33cd-4731-9f3a-f9ff90d782e4">424B2</ffd:SubmissnTp>
    <dei:EntityCentralIndexKey
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_a87ba0a1-0638-4dc3-8c30-111eb5195238">0000886982</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_fa4d5ce5-dcd7-4948-be7d-09675a3c5896">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_afdc5e18-629a-4ffa-82ed-1241ae038085">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_19c69105-37a6-4063-9502-2c43e267c729">N/A</ffd:OfferingTableNa>
    <ffd:FormTp
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_1f51ee0a-8c2b-4cb7-a8e4-bfc985310684">S-3</ffd:FormTp>
    <ffd:OffsetTableNa
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_5af28b38-dfb0-4629-ad2e-e6449ee2fe99">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_99046deb-8160-48fc-a1c1-15dad4b9a876">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_62910d56-6f88-4642-a7f5-c275d6da2364"
      id="F_19750142-13db-4f62-a875-5c6c963169f6">&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;202,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_62910d56-6f88-4642-a7f5-c275d6da2364"
      decimals="-3"
      id="F_c36b6f90-f506-4e64-995f-16da0f5311fc"
      unitRef="U_USD">202000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
