Annual report pursuant to Section 13 and 15(d)

Annual report pursuant to Section 13 and 15(d)

Debt - Schedule of Maturities of Long Term Debt (Details)

v3.22.4
Debt - Schedule of Maturities of Long Term Debt (Details) - USD ($)
$ in Thousands
Dec. 31, 2022
Dec. 31, 2022
Dec. 31, 2022
Dec. 31, 2021
Jan. 11, 2021
May 04, 2020
Convertible Senior Notes            
Less: Unamortized debt issuance costs $ (532)          
Equipment Financing Obligations            
Current portion (70)     $ (1,135)    
Total Long-Term Debt            
2023 70          
2024 0          
2025 201,250          
2026 0          
2027 0          
Thereafter 345,000          
Total Debt 546,320          
Less: Current portion of long-term debt (70)          
Unamortized debt discount (10,396)          
Less: Unamortized debt issuance costs (532)          
Total long-term debt, net 535,322     532,554    
0.25% Convertible Senior Notes | Convertible Debt            
Line of Credit Facility [Line Items]            
Stated interest rate (as a percent)   0.25% 0.25%   0.25%  
Convertible Senior Notes            
2023 0          
2024 0          
2025 0          
2026 0          
2027 0          
Thereafter 345,000          
Total Debt 345,000          
Less: Current portion of long-term debt 0          
Less: Unamortized debt issuance costs (174)     (208)    
Long-term debt, net 337,321          
Total Long-Term Debt            
Unamortized debt discount (7,505)     (8,963)    
Less: Unamortized debt issuance costs (174)     (208)    
1.25% Convertible Senior Notes | Convertible Debt            
Line of Credit Facility [Line Items]            
Stated interest rate (as a percent)   1.25% 1.25%     1.25%
Convertible Senior Notes            
2023 0          
2024 0          
2025 201,250          
2026 0          
2027 0          
Thereafter 0          
Total Debt 201,250          
Less: Current portion of long-term debt 0          
Less: Unamortized debt issuance costs (358)     (506)    
Long-term debt, net 198,001          
Total Long-Term Debt            
Unamortized debt discount (2,891)     (4,090)    
Less: Unamortized debt issuance costs (358)     (506)    
Finance Obligations            
Convertible Senior Notes            
Less: Unamortized debt issuance costs 0          
Equipment Financing Obligations            
2023 70          
2024 0          
2025 0          
2026 0          
2027 0          
Thereafter 0          
Total Debt 70          
Current portion (70)     $ (1,135)    
Long-term debt, net 0          
Total Long-Term Debt            
Unamortized debt discount 0          
Less: Unamortized debt issuance costs $ 0