XML 65 R56.htm IDEA: XBRL DOCUMENT v3.22.1
Debt - Summary (Details) - USD ($)
$ in Thousands
Mar. 31, 2022
Dec. 31, 2021
Debt    
Total debt $ 549,707 $ 433,484
Less: Unamortized debt discount and issuance costs (10,960) (38,831)
Total debt, net 538,747 394,653
Less: Current portion of long-term debt, net 96,016 0
Total long-term debt, net 442,731 394,653
2023 Notes | Convertible subordinated notes    
Debt    
Total debt 96,207 240,984
2025 Notes | Convertible senior notes    
Debt    
Total debt 192,500 192,500
Less: Unamortized debt discount and issuance costs (2,437) $ (38,211)
2028 Notes | Convertible senior notes    
Debt    
Total debt 261,000  
Less: Unamortized debt discount and issuance costs $ (8,332)