<?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_7dc63aed-654e-4a17-b6c8-7394498a515f">
        <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:FormTp
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_6b097d6c-3f1f-4b72-8f82-99d4cf34dc94">S-3</ffd:FormTp>
    <dei:EntityRegistrantName
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_8a5c550c-a9bd-4685-a065-f6c0aa21e85a">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_2db8594c-1d09-49d1-8dcc-26be7025bc24">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingTableNa
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_13ce741b-4358-4eaa-8b7b-5338c292da69">N/A</ffd:OfferingTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_f10b5d1c-4dec-4687-aa8b-bbd03f178695">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_35183dbc-3ac9-4c4f-8166-fc7107716ad5">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_00203882-49aa-4d36-a221-6a180f4b9519">424B2</ffd:SubmissnTp>
    <ffd:OffsetTableNa
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_5e500ad1-3e35-433b-958c-83f3a5dc1bf2">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_b20bae65-3f61-4336-9ccf-fd09ba8deea8">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_7dc63aed-654e-4a17-b6c8-7394498a515f"
      id="F_331db9ff-43df-4137-a0be-dd3111ae5966">&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;465,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_7dc63aed-654e-4a17-b6c8-7394498a515f"
      decimals="-3"
      id="F_408ababb-86d5-4356-9a30-d9a6820ea692"
      unitRef="U_USD">465000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
