XML 49 R38.htm IDEA: XBRL DOCUMENT v3.21.2
Summary of Accounting Policies - Narrative (Details) - USD ($)
$ in Thousands
1 Months Ended 6 Months Ended
Aug. 05, 2021
Jun. 30, 2021
Jan. 01, 2021
Dec. 31, 2020
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Accumulated deficit   $ (326,213) $ (262,551) $ (270,313)
1.75% Convertible Senior Notes due 2023        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Debt conversion   $ 39    
1.75% Convertible Senior Notes due 2023 | Subsequent Event        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Debt conversion $ 226      
Revision of Prior Period, Adjustment        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Accumulated deficit     $ 7,762