v3.26.1
FAIR VALUE MEASUREMENTS - Narrative (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jan. 01, 2026
USD ($)
Jun. 30, 2026
USD ($)
project
Mar. 31, 2026
USD ($)
project
Jun. 30, 2026
USD ($)
project
Jun. 30, 2025
USD ($)
$ / shares
shares
Dec. 31, 2025
USD ($)
Apr. 03, 2023
Nov. 22, 2021
Debt Instrument [Line Items]                
Transfers into or out of Level 3       $ 0 $ 0      
Impairment carrying value of the assets   $ 33,990   33,990   $ 43,925    
Disposal Group, Disposed of by Sale, Not Discontinued Operations | Logan Energy Storage ULC                
Debt Instrument [Line Items]                
Disposal group, not discontinued operation, gain (loss) on disposal   400 $ (3,300)          
Remeasurement adjustment to impairment of assets held for sale   100            
Impairment carrying value of the assets   $ 1,200 $ 1,400 $ 1,200        
Disposal Group, Disposed of by Sale, Not Discontinued Operations | Logan Energy Storage ULC | Logan Energy Storage ULC                
Debt Instrument [Line Items]                
Number of battery energy storage system projects held for sale | project   3 4 3        
2030 Private Placement Warrants                
Debt Instrument [Line Items]                
Class of warrant or right issued (in shares) | shares         439,919      
Number of shares called from each warrant (in shares) | shares         1      
Exercise price (in dollars per share) | $ / shares         $ 30.00      
2030 Senior Secured Notes                
Debt Instrument [Line Items]                
Paid-in-kind interest $ 4,600     $ 4,600        
Convertible Notes | 2028 Convertible Notes                
Debt Instrument [Line Items]                
Fixed interest rate, annual   0.50%   0.50%   0.50%   0.50%
Convertible Notes | 2030 Convertible Notes                
Debt Instrument [Line Items]                
Fixed interest rate, annual   4.25%   4.25%   4.25% 4.25%  
Convertible Notes | Level 2 | 2028 Convertible Notes                
Debt Instrument [Line Items]                
Convertible debt   $ 30,700   $ 30,700   $ 26,300    
Convertible Notes | Level 2 | 2030 Convertible Notes                
Debt Instrument [Line Items]                
Convertible debt   46,300   46,300   42,000    
Secured Debt | Level 3 | 2030 Senior Secured Notes                
Debt Instrument [Line Items]                
Debt instrument, fair value   $ 145,800   $ 145,800   $ 140,600