XML 52 R42.htm IDEA: XBRL DOCUMENT v3.21.2
Debt - Summary (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Debt    
Total debt $ 433,484 $ 433,484
Unamortized debt discount and issuance costs (43,495) (47,967)
Net long-term debt 389,989 385,517 [1]
2023 Notes | Convertible subordinated notes    
Debt    
Total debt 240,984 240,984
2025 Notes | Convertible senior notes    
Debt    
Total debt 192,500 192,500
Unamortized debt discount and issuance costs $ (42,583) $ (46,766)
[1] Consolidated balance sheet as of December 31, 2020 has been derived from audited consolidated financial statements.