<?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_290f07e4-970b-495f-bf3c-a34ab41ad07b">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-03</startDate>
            <endDate>2026-11-03</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:EntityCentralIndexKey
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_7fd89329-7b53-430c-b0d7-66da3cefdadd">0000886982</dei:EntityCentralIndexKey>
    <ffd:CombinedProspectusTableNa
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_4f9f577b-ecc0-4ab0-bed3-b79b7d416edc">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_1c99779d-a238-466c-9b6b-6ff1b6221497">S-3</ffd:FormTp>
    <ffd:OfferingTableNa
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_eca8d1e6-3b18-4b88-b9cf-8b7089b31f7f">N/A</ffd:OfferingTableNa>
    <ffd:SubmissnTp
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_b803d17d-5348-4b71-b3e4-0c8b890e1ee7">424B2</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_71431b0d-f2b6-489a-8f6a-1164f7153bc9">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OffsetTableNa
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_5f76fd48-1faa-41dd-ac35-d118de673771">N/A</ffd:OffsetTableNa>
    <ffd:RegnFileNb
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_5d351416-34b8-4392-8a49-52b77201bfc1">333-284538</ffd:RegnFileNb>
    <ffd:FeeExhibitTp
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_1b7a0d88-4702-4d40-8c83-2f9f930072f4">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:NrrtvDsclsr
      contextRef="C_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      id="F_7e1f6387-e907-44bb-b205-f85a65f5de80">&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,240,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_290f07e4-970b-495f-bf3c-a34ab41ad07b"
      decimals="-3"
      id="F_6a8b2594-7576-45ab-8f73-11e57d1d5e53"
      unitRef="U_USD">1240000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
