<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:_2="http://www.w3.org/1999/xhtml"
  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:xbrldi="http://xbrl.org/2006/xbrldi"
  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-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001758766</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-27</startDate>
            <endDate>2026-05-27</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001758766</identifier>
        </entity>
        <period>
            <startDate>2026-05-27</startDate>
            <endDate>2026-05-27</endDate>
        </period>
    </context>
    <unit id="share">
        <measure>_2:share</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-2" id="f-14">0001758766</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="c-2" id="f-15">Stem, Inc.</dei:EntityRegistrantName>
    <ffd:FormTp contextRef="c-2" id="f-16">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="c-2" id="f-17">S-3</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c-2" id="f-18">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c-2" id="f-19">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="c-2" id="f-20">N/A</ffd:CombinedProspectusTableNa>
    <ffd:PrevslyPdFlg contextRef="c-1" id="f-1">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-1" id="f-2">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-1" id="f-3">Common stock, $0.0001 par value per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-1" id="f-4">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-1" decimals="0" id="f-5" unitRef="share">389569</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-1" decimals="4" id="f-6" unitRef="usd">8.7046</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-1" decimals="2" id="f-7" unitRef="usd">3391042.32</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-1" decimals="8" id="f-8" unitRef="number">0.00013810</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-1" decimals="2" id="f-9" unitRef="usd">468.31</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-2" decimals="2" id="f-10" unitRef="usd">3391042.32</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-2" decimals="2" id="f-11" unitRef="usd">468.31</ffd:TtlFeeAmt>
    <ffd:NetFeeAmt contextRef="c-2" decimals="2" id="f-12" unitRef="usd">468.31</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-1" id="f-13">&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:9pt;font-weight:400;line-height:120%;padding-left:7.52pt"&gt;Pursuant to Rule&#160;457(c) promulgated under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;) and solely for the purpose of calculating the registration fee, the proposed maximum offering price per unit is the average of the high and low prices of the shares of Common Stock as reported on The Nasdaq Capital Market on May&#160;20, 2026 ($8.7046) (such date being within five business days of the date that this registration statement was first filed with the Securities and Exchange Commission, in accordance with Rule&#160;457(c) under the Securities Act).&lt;/span&gt;</ffd:OfferingNote>
</xbrl>
