Quarterly report pursuant to Section 13 or 15(d)

Quarterly report pursuant to Section 13 or 15(d)

Debt - Summary of Long Term Debt (Detail)

v3.21.2
Debt - Summary of Long Term Debt (Detail) - USD ($)
$ in Thousands
Jun. 30, 2021
Jun. 30, 2021
Jun. 30, 2021
Jan. 11, 2021
Dec. 31, 2020
May 04, 2020
Debt Instrument [Line Items]            
Unamortized debt discount $ (14,370)          
Unamortized debt issuance costs (803)          
Equipment financing obligations 2,361       $ 3,808  
Total debt 533,438       171,928  
Less: Current portion of equipment financing obligations (1,913)       (2,841)  
Total long-term debt, net 531,525       169,087  
Convertible Debt | 0.25% Convertible Senior Notes due 2028            
Debt Instrument [Line Items]            
Principal 345,000       0  
Unamortized debt discount (9,688)       0  
Unamortized debt issuance costs (224)       0  
Long-term debt 335,088       0  
Stated interest rate (as a percent)     0.25% 0.25%    
Convertible Debt | 1.25% Convertible Senior Notes due 2025            
Debt Instrument [Line Items]            
Principal 201,250       201,250  
Unamortized debt discount (4,682)       (32,592)  
Unamortized debt issuance costs (579)       (538)  
Long-term debt 195,989       168,120  
Stated interest rate (as a percent)   1.25% 1.25%     1.25%
Equipment Financing Obligations            
Debt Instrument [Line Items]            
Unamortized debt discount 0          
Unamortized debt issuance costs 0          
Less: Current portion of equipment financing obligations $ (1,913)       $ (2,841)