<?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_403b7536-feee-4e37-b9ef-ed0396751314">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-09-11</startDate>
            <endDate>2026-09-11</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:CombinedProspectusTableNa
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_6c2142df-6e37-42af-b39b-d9968664e627">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_03462a00-7242-4676-bcd6-0406d110d439">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_3d31a0b5-a8d5-403e-badc-6263bf986167">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_f6653821-7ed0-44bc-9b4f-d127aefb6494">424B2</ffd:SubmissnTp>
    <ffd:OfferingTableNa
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_465ac004-32f1-419b-999a-8b3edcd6292b">N/A</ffd:OfferingTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_73777138-a295-432f-8695-7cafc08fd468">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_f46250a8-557f-409a-a43f-8dc829bde2e3">S-3</ffd:FormTp>
    <ffd:OffsetTableNa
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_8b204b99-34d7-4512-9f8d-62bec6bb83d4">N/A</ffd:OffsetTableNa>
    <dei:EntityRegistrantName
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_0cf83df7-190f-40d2-badc-c7c3be701e8c">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:NrrtvDsclsr
      contextRef="C_403b7536-feee-4e37-b9ef-ed0396751314"
      id="F_0ff863b5-68da-4552-b8b3-99358b13797d">&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;709,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_403b7536-feee-4e37-b9ef-ed0396751314"
      decimals="-3"
      id="F_f7210176-4155-4fc8-b249-37460d3cedad"
      unitRef="U_USD">709000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
