<?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_5290a1fd-96f3-4985-b7f1-0c672a83b0f2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-10</startDate>
            <endDate>2026-11-10</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:SubmissnTp
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_f9dd73d7-e34a-4a39-80be-fc5708b69c20">424B2</ffd:SubmissnTp>
    <ffd:OfferingTableNa
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_869b3bec-732b-4e1b-b8f6-cc20d3029c98">N/A</ffd:OfferingTableNa>
    <ffd:RegnFileNb
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_fc9925b3-c3f5-42cf-8b19-35ba4b86f2d4">333-284538</ffd:RegnFileNb>
    <dei:EntityRegistrantName
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_9a8b6a70-3416-408a-b35d-dd240c58affa">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_18eb9a9d-8544-49ae-b11c-4b54a8a2553a">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_08887f9f-289c-426b-85d0-6ccfc42ed0b6">S-3</ffd:FormTp>
    <ffd:OffsetTableNa
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_3050295c-8bf1-4bec-8fe9-48052058d186">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_48735973-18da-44bd-85a8-9d3d412d8ff9">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_a69403e5-520a-46f9-84ec-0c219bacacb1">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      id="F_79c02bad-e581-47b3-8672-2edf36686731">&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;50,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_5290a1fd-96f3-4985-b7f1-0c672a83b0f2"
      decimals="-6"
      id="F_9ea06307-1ecc-4b29-9d10-68a2c9a0903d"
      unitRef="U_USD">50000000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
