Quarterly report pursuant to Section 13 or 15(d)

Convertible Notes and PPP Term Note - Additional Information (Details)

v3.21.2
Convertible Notes and PPP Term Note - Additional Information (Details) - USD ($)
3 Months Ended 6 Months Ended
Apr. 14, 2020
Jun. 30, 2021
Jun. 30, 2021
Dec. 31, 2020
Debt Instrument [Line Items]        
Convertible notes, at fair value   $ 200,900,000 $ 200,900,000 $ 197,700,000
Senior Secured Convertible Notes Due 2024 | Convertible notes        
Debt Instrument [Line Items]        
Interest rate   4.00% 4.00%  
Face amount   $ 200,000,000.0 $ 200,000,000.0 200,000,000.0
Convertible notes, at fair value   $ 200,900,000 $ 200,900,000 $ 197,700,000
Conversion price (in usd per share)   $ 35.29 $ 35.29  
Interest expense (income), net   $ 2,000,000.0 $ 4,000,000.0  
Senior Secured Convertible Notes Due 2024 | Convertible notes | Period ending March 31, 2022        
Debt Instrument [Line Items]        
Minimum sales backlog   25,000,000.0 25,000,000.0  
Senior Secured Convertible Notes Due 2024 | Convertible notes | Period ending Jun 30, 2022        
Debt Instrument [Line Items]        
Minimum sales backlog   50,000,000.0 50,000,000.0  
Senior Secured Convertible Notes Due 2024 | Convertible notes | Period ending September 30, 2022        
Debt Instrument [Line Items]        
Minimum sales backlog   75,000,000.0 75,000,000.0  
Senior Secured Convertible Notes Due 2024 | Convertible notes | Period ending December 31, 2022        
Debt Instrument [Line Items]        
Minimum sales backlog   $ 100,000,000.0 $ 100,000,000.0  
Paycheck Protection Program Term Note        
Debt Instrument [Line Items]        
CARES Act, proceeds from loans payable $ 1,400,000      
CARES Act, interest rate 1.00%