XML 108 R97.htm IDEA: XBRL DOCUMENT v3.22.1
Correction of Previously Issued Consolidated Financial Statements - Summary of Effect of Correcting Accounting Error on Consolidated Statement of Cash Flows Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Net loss $ (135,618) $ (55,320) $ (51,951)
Stock-based compensation 98,482 54,307 36,086
Previously Reported      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Net loss (125,233) (49,183) (50,214)
Stock-based compensation 88,097 48,170 34,349
Adjustment      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Net loss (10,385) (6,137) (1,737)
Stock-based compensation $ 10,385 $ 6,137 $ 1,737