<?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_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb">
        <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:SubmissnTp
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_817e8a56-58ff-4ff4-a9a6-6a92fc16c2ed">424B2</ffd:SubmissnTp>
    <ffd:FeeExhibitTp
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_78822d96-0523-44e4-bded-1c2d2910d3fd">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_b87dc5cc-639e-49c6-b4e3-6b721631e020">N/A</ffd:OfferingTableNa>
    <ffd:FormTp
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_044866e6-5538-409a-833e-e31693bff9e6">S-3</ffd:FormTp>
    <ffd:RegnFileNb
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_0b05d2e3-fec9-474e-a929-228a05d15448">333-284538</ffd:RegnFileNb>
    <ffd:OffsetTableNa
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_092af8bf-52ac-4657-8716-4bff92b88349">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_283e0795-2cee-483e-8cf7-692a9cb6f118">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_303e22cb-6031-497c-ac8f-a88f858e2116">0000886982</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_71ba4d17-2da4-4a49-988e-05c53d8f25fb">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:NrrtvDsclsr
      contextRef="C_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      id="F_c4279c45-1d86-46fc-9dc1-00c02e2b347d">&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;8,631,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_b9e86115-9d70-4dc4-a87b-715dc8ee4ebb"
      decimals="-3"
      id="F_cd68ace6-a9a8-4e6b-8ca6-b37ef2acf366"
      unitRef="U_USD">8631000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
