<?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_0e5bd9e1-082d-4afc-877b-d99392e2f13a">
        <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:OfferingTableNa
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_72cee960-2839-4011-927b-182bb692c5a8">N/A</ffd:OfferingTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_3c890177-72a0-41b8-a84e-320a46906156">0000886982</dei:EntityCentralIndexKey>
    <ffd:FormTp
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_4c7d93e7-f124-49c0-88c7-0dfb3ef7ff05">S-3</ffd:FormTp>
    <ffd:FeeExhibitTp
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_471037fa-24aa-4374-b38d-66025ce1d8bd">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_651c1b01-fbb8-4897-b36a-f426050768e4">N/A</ffd:CombinedProspectusTableNa>
    <ffd:RegnFileNb
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_afad18e2-5669-43a2-be1e-31a4ae3e167f">333-284538</ffd:RegnFileNb>
    <dei:EntityRegistrantName
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_819f3273-0504-42d1-bd7d-b5912d7bd835">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:SubmissnTp
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_80935579-1a9e-4480-9cd0-f8645c918218">424B2</ffd:SubmissnTp>
    <ffd:OffsetTableNa
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_817c8467-72ce-47dd-a2f8-4ba40562be45">N/A</ffd:OffsetTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      id="F_e2bf3553-7d91-4fc9-b506-c208d2c1c221">&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;2,839,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_0e5bd9e1-082d-4afc-877b-d99392e2f13a"
      decimals="-3"
      id="F_0f6ba4e9-0ebc-4979-a25f-82c9e2611c51"
      unitRef="U_USD">2839000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
