Annual report pursuant to Section 13 and 15(d)

STOCKHOLDERS' EQUITY - Common Stock and Trine Warrants Narrative (Details)

v3.24.0.1
STOCKHOLDERS' EQUITY - Common Stock and Trine Warrants Narrative (Details)
12 Months Ended
Feb. 24, 2020
$ / shares
shares
Dec. 31, 2023
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
shares
Dec. 31, 2022
$ / shares
Mar. 29, 2021
$ / shares
shares
Class of Warrant or Right          
Common stock par value (in dollars per share)   $ 0.0001   $ 0.0001  
Net proceeds from warrant exercises | $     $ 170,665,000    
Divisional factor for conversion of debt to warrants $ 1.00        
Change in fair value of warrant liabilities | $     $ 56,576,000    
Common Class A          
Class of Warrant or Right          
Common stock par value (in dollars per share)   0.0001      
Trine Warrants          
Class of Warrant or Right          
Share price   10.00      
Exercise price $ 11.50 $ 11.50      
Warrant exercisable term   30 days      
Term of Public Warrants   5 years      
Warrant redemption price   $ 0.01      
Debt instrument convertible threshold trading days | $   20      
Debt instrument convertible threshold consecutive trading days | $   30      
Common stock issued in connection with warrants exercised (in shares) | shares     14,840,589    
Net proceeds from warrant exercises | $     $ 170,700,000    
Public Warrants redeemed | shares         166,905
Redemption price per warrant         $ 0.01
Private Placement Warrant conversion to number of shares of common stock | shares 1,500,000        
Trine Warrants | Common Class A          
Class of Warrant or Right          
Number of common stock purchased by each warrant | shares   1      
Common stock par value (in dollars per share)   $ 0.0001      
Trine Warrants | Warrants          
Class of Warrant or Right          
Number of common stock purchased by each warrant | shares   0.5      
Private Placement Warrants          
Class of Warrant or Right          
Number of common stock purchased by each warrant | shares   1      
Exercise price   $ 11.50      
Warrant redemption price   $ 1.00      
Warrants to purchase shares | shares   8,503,000      
Warrant aggregate price | $   $ 8,503,000      
Change in fair value of warrant liabilities | $     $ (56,600,000)    
Number of shares issued during the period upon exercise of cashless basis for Private Placement Warrants | shares   5,850,346      
Minimum | Trine Warrants | Common Class A          
Class of Warrant or Right          
Share price   $ 18.00