Quarterly report pursuant to Section 13 or 15(d)

Immaterial correction of prior period financial statements (Details)

v3.21.2
Immaterial correction of prior period financial statements (Details) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2020
Jun. 30, 2021
Mar. 31, 2021
Dec. 21, 2020
Jun. 30, 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) (473,142)          
Additional Paid in Capital 910,579 996,354          
Liabilities 188,228 188,288          
Stockholders' Equity Attributable to Parent 565,242 $ 523,236 $ 610,278   $ (101,020) $ (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)