XML 39 R30.htm IDEA: XBRL DOCUMENT v3.22.2.2
Organization and Description of Business - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Mar. 31, 2022
Jun. 30, 2021
Mar. 31, 2021
Jun. 30, 2022
Jun. 30, 2021
Dec. 31, 2021
Dec. 31, 2020
Organization Consolidation And Presentation Of Financial Statements Disclosure [Line Items]                
Cash and cash equivalents $ 48,506       $ 48,506   $ 88,397  
Accumulated deficit 808,007       808,007   $ 788,686  
Net loss 5,513 $ 13,808 $ 78,531 $ 32,264 19,321 $ 110,795    
Cash used in operating activities         43,594 $ 84,250    
7.25% Convertible Senior Notes due 2025                
Organization Consolidation And Presentation Of Financial Statements Disclosure [Line Items]                
Principal amount $ 127,100       $ 127,100     $ 168,500