<?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_60cd3c2d-620a-46e6-979c-c7f0b54ea190">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-09-15</startDate>
            <endDate>2026-09-15</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OffsetTableNa
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_b9d6fbca-c236-47e5-a408-acbaabbd7c0a">N/A</ffd:OffsetTableNa>
    <ffd:SubmissnTp
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_f9cda2cb-6bbf-49ed-97e9-62d3ae17b0eb">424B2</ffd:SubmissnTp>
    <ffd:RegnFileNb
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_a3af3500-fefd-481b-a992-0aafe5e2cf4f">333-284538</ffd:RegnFileNb>
    <ffd:FormTp
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_7f497ebf-8522-4d3e-bebb-4a111aba7a81">S-3</ffd:FormTp>
    <ffd:OfferingTableNa
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_81daeb3f-0f25-46a4-9321-08cd0369f890">N/A</ffd:OfferingTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_70d86a2a-03ff-4e6d-bdc7-dc181c7a6699">0000886982</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_89162f20-fb34-4617-b71b-1c8b9f90ebd9">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_6768f7ae-af8c-4c05-be4b-fd6b73e8f13f">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_d5bdd790-7412-4a5b-8ee5-764b16d63ff9">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      id="F_3b21f542-18f1-4617-8bb5-e9770f5b11e1">&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;22,898,310&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_60cd3c2d-620a-46e6-979c-c7f0b54ea190"
      decimals="0"
      id="F_a9d11a18-a2fe-4116-801b-688a9ecac3cb"
      unitRef="U_USD">22898310</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
