Quarterly report pursuant to Section 13 or 15(d)

Immaterial correction of prior period financial statements (Details)

v3.21.1
Immaterial correction of prior period financial statements (Details) - USD ($)
$ in Thousands
3 Months Ended
Dec. 31, 2020
Mar. 31, 2021
Dec. 21, 2020
Mar. 31, 2020
Dec. 31, 2019
Error Corrections and Prior Period Adjustments Restatement [Line Items]          
Private placement warrants liability $ 6,613   $ 9,700    
Gain on change in fair value 3,100 $ 1,639      
Retained Earnings (Accumulated Deficit) (345,361) (360,588)      
Additional Paid in Capital 910,579 970,842      
Liabilities 188,228 107,555      
Stockholders' Equity Attributable to Parent 565,242 $ 610,278   $ (78,105) $ (55,868)
Previously Reported          
Error Corrections and Prior Period Adjustments Restatement [Line Items]          
Retained Earnings (Accumulated Deficit) (348,493)        
Additional Paid in Capital 920,324        
Liabilities 181,615        
Stockholders' Equity Attributable to Parent 571,855        
Accounting For Derivative Liability [Member] | Revision of Prior Period, Reclassification, Adjustment [Member]          
Error Corrections and Prior Period Adjustments Restatement [Line Items]          
Private placement warrants liability 6,613        
Retained Earnings (Accumulated Deficit) 3,132        
Additional Paid in Capital (9,745)        
Liabilities 6,613        
Stockholders' Equity Attributable to Parent $ (6,613)