<?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_be9ec063-6917-40d7-87c5-15bee738bd9f">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-12</startDate>
            <endDate>2026-11-12</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OfferingTableNa
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_e111145b-251d-4543-96df-73186987663c">N/A</ffd:OfferingTableNa>
    <ffd:RegnFileNb
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_f25886c6-66df-407e-889e-1aab574240b7">333-284538</ffd:RegnFileNb>
    <dei:EntityRegistrantName
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_44c0d9a4-cd40-4b8c-b9ef-636fa3197458">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_e121533b-6623-4e67-946a-056d646197c6">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_daea6170-166d-40e2-9701-77224926529b">N/A</ffd:CombinedProspectusTableNa>
    <ffd:SubmissnTp
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_05e77e13-afaa-44ec-ba54-dbfbe72118dd">424B2</ffd:SubmissnTp>
    <ffd:FormTp
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_f3f2b580-3e26-43e4-afb1-7480daa3b37a">S-3</ffd:FormTp>
    <ffd:OffsetTableNa
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_83950470-a7a3-4319-aa14-0c1d1683eee6">N/A</ffd:OffsetTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_7b4c91e2-d4de-44ef-9fff-ed571e52506b">0000886982</dei:EntityCentralIndexKey>
    <ffd:NrrtvDsclsr
      contextRef="C_be9ec063-6917-40d7-87c5-15bee738bd9f"
      id="F_cc4e64ca-0cb8-48a5-9d9f-59c2becd9141">&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;3,500,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_be9ec063-6917-40d7-87c5-15bee738bd9f"
      decimals="-3"
      id="F_a53721cb-a9bb-4eb3-93a2-b80478c16775"
      unitRef="U_USD">3500000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
