Annual report pursuant to Section 13 and 15(d)

STOCKHOLDERS' EQUITY - Warrants Narrative (Details)

v3.22.4
STOCKHOLDERS' EQUITY - Warrants Narrative (Details)
12 Months Ended
Feb. 24, 2020
$ / shares
shares
Dec. 31, 2022
USD ($)
Y
$ / shares
shares
Dec. 31, 2021
USD ($)
$ / shares
shares
Dec. 31, 2020
USD ($)
shares
Mar. 29, 2021
$ / shares
shares
Dec. 09, 2020
$ / shares
shares
Aug. 31, 2020
$ / shares
shares
May 31, 2017
$ / shares
shares
Class of Warrant or Right                
Exercise price             $ 3.34 $ 3.34
Common stock, shares authorized | shares   500,000,000 500,000,000     500,000,000 366,366  
Common stock par value (in dollars per share)   $ 0.0001 $ 0.0001     $ 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 $ (56,417,000)        
Common Class A                
Class of Warrant or Right                
Common stock, shares authorized | shares   500,000,000            
Common stock par value (in dollars per share)   $ 0.0001            
Trine Warrants                
Class of Warrant or Right                
Exercise price $ 11.50 11.50            
Share price   $ 10.00            
Warrant exercisable term   30 days            
Term of Public Warrants   5 years            
Warrant redemption price   $ 0.01            
Debt instrument convertible threshold trading days | Y   20            
Debt instrument convertible threshold consecutive trading days | Y   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                
Warrants to purchase shares | shares   8,503,000            
Number of common stock purchased by each warrant | shares   1            
Exercise price   $ 11.50            
Warrant redemption price   $ 1.00            
Warrant aggregate price | $   $ 8,503,000            
Change in fair value of warrant liabilities | $     $ 56,600,000 $ (56,400,000)        
Number of shares issued during the period upon exercise of cashless basis for Private Placement Warrants | shares   5,850,346            
Collaboration Agreement                
Class of Warrant or Right                
Warrants to purchase shares | shares       122,073       2,442,440
Number of common stock purchased by each warrant | shares               1
Revenue generated per share               $ 35.00
Fair value of the warrants | $       $ 200,000        
Technical Research and Development Advisor Services                
Class of Warrant or Right                
Fair value of the warrants | $       $ 1,700,000        
Minimum                
Class of Warrant or Right                
Share price   $ 5.13            
Minimum | Trine Warrants | Common Class A                
Class of Warrant or Right                
Share price   $ 18.00