<?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_0cf7927b-cea9-496f-a03f-7bfd2f9aa114">
        <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>
    <dei:EntityCentralIndexKey
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_b7f983bd-4930-47c5-aa8e-1e514575c381">0000886982</dei:EntityCentralIndexKey>
    <ffd:OffsetTableNa
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_41935ac8-5c26-4a0b-8964-7a5369486949">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_5922b3f1-6334-47ad-93ae-43fe71ac4921">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_dbdd81f5-7441-4ef6-92d5-bf71c20f1eb5">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:RegnFileNb
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_a25466b5-881d-4b8e-aeb9-644c7f869454">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_21e89609-1294-4533-a4a9-a46dd0ac5684">424B2</ffd:SubmissnTp>
    <ffd:FormTp
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_dcc8ff0e-fe28-447b-99f6-140146a7521a">S-3</ffd:FormTp>
    <dei:EntityRegistrantName
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_f9e7e747-e606-4a6e-8a15-d9869ab92c6b">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_0958194e-05b8-4c47-9b0f-3b753b1d4323">N/A</ffd:OfferingTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      id="F_384a40db-0bb6-474d-b1da-77b2d2667049">&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;6,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_0cf7927b-cea9-496f-a03f-7bfd2f9aa114"
      decimals="-6"
      id="F_d3f77791-05b5-4f23-926e-590573d5ad22"
      unitRef="U_USD">6000000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
