XML 107 R96.htm IDEA: XBRL DOCUMENT v3.22.1
Correction of Previously Issued Consolidated Financial Statements - Summary of Effect of Correcting Accounting Error on Consolidated Statements of Shareholders' Equity 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]      
Stock-based compensation expense $ 100,073 $ 54,707 $ 36,137
Net loss (135,618) (55,320) (51,951)
Balance 1,026,454 1,080,160 463,722
Additional Paid-In Capital      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Stock-based compensation expense 100,073 54,707 36,137
Balance 1,732,742 1,648,741 978,364
Accumulated Deficit      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Net loss (135,618) (55,320) (51,951)
Balance (702,869) (567,251) (511,931)
Previously Reported      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Stock-based compensation expense 89,688 48,570 34,400
Net loss (125,233) (49,183) (50,214)
Balance 1,026,454 1,080,160 463,722
Previously Reported | Additional Paid-In Capital      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Stock-based compensation expense 89,688 48,570 34,400
Balance 1,714,483 1,640,867 976,627
Previously Reported | Accumulated Deficit      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Net loss (125,233) (49,183) (50,214)
Balance (684,610) (559,377) (510,194)
Adjustment      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Stock-based compensation expense 10,385 6,137 1,737
Net loss (10,385) (6,137) (1,737)
Adjustment | Additional Paid-In Capital      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Stock-based compensation expense 10,385 6,137 1,737
Balance 18,259 7,874 1,737
Adjustment | Accumulated Deficit      
Error Corrections And Prior Period Adjustments Restatement [Line Items]      
Net loss (10,385) (6,137) (1,737)
Balance $ (18,259) $ (7,874) $ (1,737)