<?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_fbaf5833-ab84-4e3b-9035-913ba3957826">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000886982</identifier>
        </entity>
        <period>
            <startDate>2026-11-24</startDate>
            <endDate>2026-11-24</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:OfferingTableNa
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_1e971221-2ece-46dd-bc09-f220612dafca">N/A</ffd:OfferingTableNa>
    <ffd:CombinedProspectusTableNa
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_219bb307-6096-47e4-a5bf-39fe7b4e9a86">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OffsetTableNa
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_54997966-247f-4b5b-b239-114a0cd8b04c">N/A</ffd:OffsetTableNa>
    <dei:EntityCentralIndexKey
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_2b5bab4f-4b8f-4987-a849-d36b191abe18">0000886982</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_289b1088-dc8d-4bd6-9476-edcb39b65c96">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:FormTp
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_e141e5fc-d02c-4db3-9f6b-8c412c16ecc7">S-3</ffd:FormTp>
    <dei:EntityRegistrantName
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_1d71f098-8226-4851-8961-a2d933d255c5">The Goldman Sachs Group, Inc.</dei:EntityRegistrantName>
    <ffd:SubmissnTp
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_c7bfa30d-f364-4dc4-a997-091c9c1fa3e5">424B2</ffd:SubmissnTp>
    <ffd:RegnFileNb
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_f81ae190-3233-4baf-a680-2ff2ee34a99d">333-284538</ffd:RegnFileNb>
    <ffd:NrrtvDsclsr
      contextRef="C_fbaf5833-ab84-4e3b-9035-913ba3957826"
      id="F_0e5e8638-b3e7-43a5-aceb-88d8881aecea">&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 $&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;842,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_fbaf5833-ab84-4e3b-9035-913ba3957826"
      decimals="-3"
      id="F_a1d9d76a-a8fd-4a05-9bc5-c982f64e297c"
      unitRef="U_USD">842000</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
