XML 73 R60.htm IDEA: XBRL DOCUMENT v3.21.2
DEBT - Components of Notes (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Jul. 24, 2020
May 31, 2017
Debt Instrument [Line Items]        
Net carrying amount $ 471,991 $ 611,412    
2025 Convertible Notes        
Debt Instrument [Line Items]        
Gross carrying amount 575,000 575,000    
Unamortized debt discount 93,591 110,110    
Debt issuance costs 9,418 11,056 $ 12,000  
Net carrying amount 471,991 453,834    
2022 Convertible Notes        
Debt Instrument [Line Items]        
Gross carrying amount 169,659 169,690   $ 300,000
Unamortized debt discount 5,182 10,815    
Debt issuance costs 621 1,297   $ 7,400
Net carrying amount $ 163,856 $ 157,578