<?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_db5c2ee8-69d7-4b87-8b39-df1117123f5a">
        <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:FormTp
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_e6bdc87d-abe2-4233-b41f-a35dcbcb3db9">S-3</ffd:FormTp>
    <ffd:OffsetTableNa
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_1b211921-d927-4187-b06e-d8e660611f9f">N/A</ffd:OffsetTableNa>
    <ffd:FeeExhibitTp
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_bfb00377-ed6e-4074-978b-b1e6b946932e">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_031796c8-d2a6-4d6d-9d20-a8b6c4d51104">0000886982</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_9613b0c8-8ea1-49bc-b533-bda89bb14f88">333-284538</ffd:RegnFileNb>
    <ffd:SubmissnTp
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_ef3c75d0-c456-4c04-9b3a-ce488e3107cd">424B2</ffd:SubmissnTp>
    <dei:EntityRegistrantName
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_8840b9bf-10d0-4c3e-8d1a-204f7280a9e5">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_969e6227-5130-4662-9305-eb22336138e9">N/A</ffd:OfferingTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_0cf50145-d743-4416-9f0c-5a294cac1724">N/A</ffd:CombinedProspectusTableNa>
    <ffd:NrrtvDsclsr
      contextRef="C_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      id="F_5d6cde95-e9ee-4076-a971-ab29799e99a0">&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;97,750,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_db5c2ee8-69d7-4b87-8b39-df1117123f5a"
      decimals="-3"
      id="F_ae44ddce-ac28-4a43-a2b9-4bfa62408812"
      unitRef="U_USD">97750000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
