v3.26.1
NET (LOSS) INCOME PER SHARE - Schedule of Basic and Diluted Net (Loss) Income per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Mar. 31, 2026
Jun. 30, 2025
Mar. 31, 2025
Jun. 30, 2026
Jun. 30, 2025
Numerator:            
Net (loss) income attributable to common stockholders $ (14,383) $ (18,925) $ 202,531 $ (25,000) $ (33,308) $ 177,531
Net (loss) income attributable to Stem common stockholders, basic (14,383)   202,531   (33,308) 177,531
Less: Gain on extinguishment of debt, net of tax 0   (217,691)   0 (215,736)
Net loss attributable to Stem common stockholders, diluted $ (14,383)   $ (15,160)   $ (33,308) $ (38,205)
Denominator:            
Weighted-average number of shares outstanding used to compute net loss per share attributable to common stockholders, basic (in shares) 9,110,452   8,330,679   8,815,386 8,263,378
Dilutive potential common shares (in shares) 0   151,120   0 151,120
Weighted-average number of shares outstanding used to compute net loss per share attributable to common stockholders, diluted (in shares) 9,110,452   8,481,799   8,815,386 8,414,498
Net (loss) income per share attributable to common stockholders, basic (in dollars per share) $ (1.58)   $ 24.31   $ (3.78) $ 21.48
Net loss per share attributable to common stockholders, diluted (in dollars per share) $ (1.58)   $ (1.79)   $ (3.78) $ (4.54)