XML 99 R85.htm IDEA: XBRL DOCUMENT
v3.22.4

CONVERTIBLE PROMISSORY NOTES - Narrative (Details) $ / shares in Units, $ in Thousands |  |  |  | 1 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | ---
Nov. 22, 2021 USD ($) day $ / shares | Nov. 19, 2021 USD ($) $ / shares | Apr. 28, 2021 USD ($) shares | Jan. 31, 2021 USD ($) | Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($)
Debt Instrument [Line Items] |  |  |  |  |  |  |
Proceeds from convertible notes |  |  |  |  | $ 0 | $ 446,827 | $ 33,081
Loss on extinguishment of debt |  |  |  |  | 0 | 5,064 | 0
Capped Call Options |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Cost of capped calls |  | $ 66,700 |  |  |  | 66,700 |
Initial strike price (in dollars per share) | $ / shares |  | $ 29.2428 |  |  |  |  |
Cap price (in dollars per share) | $ / shares |  | $ 49.6575 |  |  |  |  |
Convertible Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Convertible notes payable |  |  |  |  |  | 0 | $ 67,600
Convertible Notes | Level 2 |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Outstanding principal |  |  |  |  | 293,100 |  |
Convertible Notes | Q1 2021 Convertible Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Proceeds from convertible notes |  |  |  | $ 1,100 |  |  |
Convertible Notes | Convertible Promissory Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Debt conversion, converted instrument, shares issued (in shares) | shares |  |  | 10,921,548 |  |  |  |
Debt conversion, converted instrument, amount |  |  | $ 77,700 |  |  |  |
Debt instrument, increase, accrued interest |  |  | 7,700 |  |  |  |
Loss on extinguishment of debt |  |  | $ 1,100 |  |  |  |
Convertible Notes | 2028 Convertible Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Proceeds from convertible notes | $ 445,700 |  |  |  |  |  |
Face amount | $ 460,000 |  |  |  | 460,000 |  |
Fixed interest rate, annual | 0.50% |  |  |  |  |  |
Conversion ratio | 0.0341965 |  |  |  |  |  |
Conversion price (in dollars per share) | $ / shares | $ 29.24 |  |  |  |  |  |
Redemption price, percentage | 100.00% |  |  |  |  |  |
Term | 7 years |  |  |  |  |  |
Unamortized discount | $ 14,291 |  |  |  | $ 12,091 | $ 143,458 |
Unamortized discount | 12,420 |  |  |  |  |  |
Debt Issuance Costs | $ 1,871 |  |  |  |  |  |
Effective interest rate | 5.96% |  |  |  |  |  |
Equity component | $ 135,200 |  |  |  |  |  |
Debt discount, percent | 0.90% |  |  |  |  |  |
Convertible Notes | 2028 Convertible Notes | Level 2 |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Outstanding principal | $ 324,800 |  |  |  |  |  |
Convertible Notes | 2028 Convertible Notes | Debt Instrument, Redemption, Period One |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Conversion price, percentage | 130.00% |  |  |  |  |  |
Convertible Notes | 2028 Convertible Notes | Debt Instrument, Redemption, Period Two |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Threshold trading days | day | 20 |  |  |  |  |  |

X
- Definition Debt Instrument, Debt Discount, Effective Percentage + References No definition available. + Details
Name: | stem_DebtInstrumentDebtDiscountEffectivePercentage
Namespace Prefix: | stem_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Derivative, Cap Price Per Share + References No definition available. + Details
Name: | stem_DerivativeCapPricePerShare
Namespace Prefix: | stem_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Derivative, Capped Call Transaction Costs + References No definition available. + Details
Name: | stem_DerivativeCappedCallTransactionCosts
Namespace Prefix: | stem_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Derivative, Initial Strike Price + References No definition available. + Details
Name: | stem_DerivativeInitialStrikePrice
Namespace Prefix: | stem_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value portion of borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock. + References No definition available. + Details
Name: | us-gaap_ConvertibleDebtFairValueDisclosures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Including the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(13)) -URI https://asc.fasb.org/extlink&oid=120401414&loc=d3e603758-122996 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_ConvertibleNotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The value of the financial instrument(s) that the original debt is being converted into in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of shares issued in exchange for the original debt being converted in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or payments in the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586 + Details
Name: | us-gaap_DebtConversionConvertedInstrumentSharesIssued1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying amount of the equity component of convertible debt which may be settled in cash upon conversion. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 + Details
Name: | us-gaap_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The price per share of the conversion feature embedded in the debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031898-161870 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionPrice1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(5)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum percentage of common stock price to conversion price of convertible debt instruments to determine eligibility of conversion. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold number of specified trading days that common stock price to conversion price of convertible debt instruments must exceed threshold percentage within a specified consecutive trading period to trigger conversion feature. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentConvertibleThresholdTradingDays
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Increase for accrued, but unpaid interest on the debt instrument for the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_DebtInstrumentIncreaseAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from the issuance of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromConvertibleDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=stem_CappedCallOptionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_ConvertibleDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=stem_Q12021ConvertibleNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=stem_ConvertiblePromissoryNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=stem_A2028ConvertibleNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |