<?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_83b744b5-d77d-40b1-ac20-e19bb7b29638">
        <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>
    <dei:EntityCentralIndexKey
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_114a757e-60fe-4b56-89ef-a19cf1426f34">0000886982</dei:EntityCentralIndexKey>
    <ffd:SubmissnTp
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_fb68c4b4-5ec8-4b0e-9175-703701d761de">424B2</ffd:SubmissnTp>
    <ffd:RegnFileNb
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_6994f68b-8dfc-4c80-875f-6940bfaf02d2">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_f4a6a6a4-ad35-4ecd-8560-333f56e10270">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_5706f0b9-8836-49ad-bd1d-90bd8766cda2">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OffsetTableNa
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_44418829-1ca0-4377-aa02-bb66ad278448">N/A</ffd:OffsetTableNa>
    <ffd:FormTp
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_3038bd7f-65d9-49e5-b1aa-834d4c5da584">S-3</ffd:FormTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_071ee1e5-0d3c-40d0-a705-a694f5d2b5ff">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OfferingTableNa
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_7dacc418-fcfa-46a1-bb53-581c7771ebd6">N/A</ffd:OfferingTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      id="F_2703f4b6-8a7e-40f5-8df8-1fc156c0a564">&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;5,001,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_83b744b5-d77d-40b1-ac20-e19bb7b29638"
      decimals="-3"
      id="F_5169aac3-3fe9-4067-bb3a-3a506bad93ea"
      unitRef="U_USD">5001000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
