<?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_196b113c-e26f-4ec1-b248-541022820137">
        <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>
    <ffd:FormTp
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_ef10f539-d570-4057-a396-5837e2f43fef">S-3</ffd:FormTp>
    <ffd:OfferingTableNa
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_f6be3352-08f8-473f-bedf-70ab04ebdec4">N/A</ffd:OfferingTableNa>
    <dei:EntityRegistrantName
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_800a6743-59da-4dd5-8755-141e1015dcd0">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OffsetTableNa
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_4c2ee8ad-cee8-4c48-bb26-9c2a037f1193">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_3625bf8c-39a0-4706-bdc3-bbe28c0983d0">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:SubmissnTp
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_abcb72aa-f341-4ba2-a0c5-f0b810c8ed80">424B2</ffd:SubmissnTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_da773cd8-3e52-498f-b172-7ae2798278d3">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_7b3a782e-6645-469a-b3cb-0172918284f1">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_a12c9ef8-8bd7-45f8-8ea3-6b47b761deb6">333-284538</ffd:RegnFileNb>
    <ffd:NrrtvDsclsr
      contextRef="C_196b113c-e26f-4ec1-b248-541022820137"
      id="F_860950c5-5d0b-4b04-ba9a-9958b53c040e">&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;1,000,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_196b113c-e26f-4ec1-b248-541022820137"
      decimals="-6"
      id="F_c2f27924-d568-4707-89cb-f5b35586b246"
      unitRef="U_USD">1000000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
