<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  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/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-02-10</startDate>
            <endDate>2026-02-10</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:FormTp
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_9e2a1a9f-e2fb-49dd-a43b-be6e3dc541a5">S-3</ffd:FormTp>
    <ffd:OfferingTableNa
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_253c146b-7fdd-4902-a2e3-de33ca72ce27">N/A</ffd:OfferingTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_a37c352d-9ac9-47c5-b3c5-19a5bdd63c3a">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:CombinedProspectusTableNa
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_50262967-ba9d-40f9-8a4f-03c8daa7efd8">N/A</ffd:CombinedProspectusTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_3ad63416-65a2-4bcd-ba3f-07f68a31bd3b">0000886982</dei:EntityCentralIndexKey>
    <ffd:SubmissnTp
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_41117911-219c-4d62-917c-f16575ee6c5b">424B2</ffd:SubmissnTp>
    <ffd:OffsetTableNa
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_0fa6350e-46cd-46c7-affd-cea2c758aebd">N/A</ffd:OffsetTableNa>
    <dei:EntityRegistrantName
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_1654c938-b024-4816-8acd-c13c0aa821c1">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:RegnFileNb
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_635693b8-8df6-4366-9390-0590bc9f7972">333-284538</ffd:RegnFileNb>
    <ffd:NrrtvDsclsr
      contextRef="C_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      id="F_2958fff2-4127-4759-a019-4db0760f38cf">&lt;p style="font-size:10pt;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,700,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_5afd5ef4-19f8-4334-99fe-a7aa00c13fc1"
      decimals="0"
      id="F_fa96c4c9-0351-4e20-9ed1-d610b1057a80"
      unitRef="U_USD">2700000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
