<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  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: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>
        </entity>
        <period>
            <startDate>2026-08-13</startDate>
            <endDate>2026-08-13</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001758766</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-13</startDate>
            <endDate>2026-08-13</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-16">0001758766</dei:EntityCentralIndexKey>
    <ffd:SubmissnTp contextRef="c-1" id="f-17">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-18">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c-1" id="f-19">N/A</ffd:OffsetTableNa>
    <ffd:FeeRate contextRef="c-2" decimals="8" id="f-20" unitRef="number">0.00013810</ffd:FeeRate>
    <ffd:FormTp contextRef="c-1" id="f-1">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-2">Stem, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-3">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-4">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-5">Common stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-2" id="f-6">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="-3" id="f-7" unitRef="shares">425000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="2" id="f-8" unitRef="usd">5.80</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="2" id="f-9" unitRef="usd">2465000</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt contextRef="c-2" decimals="2" id="f-10" unitRef="usd">340.42</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="2" id="f-11" unitRef="usd">2465000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="2" id="f-12" unitRef="usd">340.42</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="2" id="f-13" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="2" id="f-14" unitRef="usd">340.42</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-15">&lt;div&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:7.5pt;font-weight:400;line-height:112%"&gt;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this Registration Statement on Form S-8 shall also cover any additional shares of common stock, par value $0.0001 per share (the &#x201c;Common Stock&#x201d;), of Stem, Inc. (the &#x201c;Registrant&#x201d;) that may become issuable under the Stem, Inc. Second Amended and Restated 2024 Equity Incentive Plan (the &#x201c;Plan&#x201d;) by reason of any stock dividend, stock split, recapitalization or any other similar transaction effected without the receipt of consideration which would result in an increase in the number of outstanding shares of Common Stock.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:7.5pt;font-weight:400;line-height:112%"&gt;Estimated in accordance with Rules 457(c) and (h) of the Securities Act based on the average of the high and low prices of the Registrant&#x2019;s Common Stock as reported on the New York Stock Exchange on August 6, 2026.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:7.5pt;font-weight:400;line-height:112%"&gt;Represents 425,000 shares of Common Stock reserved for issuance under the Plan.&lt;/span&gt;&lt;/div&gt;</ffd:OfferingNote>
</xbrl>
