Annual report pursuant to Section 13 and 15(d)

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Restatement of Previously Issued Financial Statements (Details)

v3.21.1
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Restatement of Previously Issued Financial Statements (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Error Corrections and Prior Period Adjustments Restatement [Line Items]      
Change in fair value of warrant liability $ 56,417    
Loss before income taxes (34,955) $ (103,596)  
Net loss (34,015) (103,596)  
Total comprehensive loss, net of taxes of $0 $ (34,099) $ (103,425)  
Earnings (loss) per share:      
Net loss per share-basic and diluted $ (0.22) $ (0.69)  
Tax on Comprehensive income (loss) $ 0 $ 0  
CONSOLIDATED BALANCE SHEETS      
Warrant liability 93,328    
Total current liabilities 30,499 20,642  
Total liabilities 125,984 33,640  
Additional paid-in capital 844,188 453,242  
Accumulated deficit (328,277) (294,262)  
Total Stockholders' Equity 515,925 159,071 $ (184,569)
Cash flows from operating activities:      
Net loss (34,015) $ (103,596)  
As Reported      
Error Corrections and Prior Period Adjustments Restatement [Line Items]      
Loss before income taxes (91,372)    
Net loss (90,432)    
Total comprehensive loss, net of taxes of $0 $ (90,516)    
Earnings (loss) per share:      
Net loss per share-basic and diluted $ (0.57)    
CONSOLIDATED BALANCE SHEETS      
Total liabilities $ 32,656    
Additional paid-in capital 993,933    
Accumulated deficit (384,694)    
Total Stockholders' Equity 609,253    
Restatement Impact      
Error Corrections and Prior Period Adjustments Restatement [Line Items]      
Change in fair value of warrant liability 56,417    
Loss before income taxes 56,417    
Net loss 56,417    
Total comprehensive loss, net of taxes of $0 $ 56,417    
Earnings (loss) per share:      
Net loss per share-basic and diluted $ 0.35    
CONSOLIDATED BALANCE SHEETS      
Warrant liability $ 93,328    
Total liabilities 93,328    
Additional paid-in capital (149,745)    
Accumulated deficit 56,417    
Total Stockholders' Equity (93,328)    
Cash flows from operating activities:      
Net loss $ 56,400