XML 57 R40.htm IDEA: XBRL DOCUMENT v3.22.0.1
Summary of Significant Accounting Policies - Prior Period Errors (Details) - USD ($)
$ in Thousands
12 Months Ended
Jan. 01, 2019
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Accrued expenses and other current liabilities   $ (7,366) $ (6,657)  
Research and development   $ (91,140) $ (65,053) $ (71,677)
Accounting for clinical trial accruals | Cumulative adjustment        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Accrued expenses and other current liabilities $ 3,600      
Research and development $ 3,600