XML 69 R56.htm IDEA: XBRL DOCUMENT v3.21.1
DEBT - Components of Notes (Details) - USD ($)
$ in Thousands
Mar. 31, 2021
Dec. 31, 2020
Jul. 24, 2020
May 31, 2017
Debt Instrument [Line Items]        
Net carrying amount $ 619,502 $ 611,412    
2025 Convertible Notes        
Debt Instrument [Line Items]        
Gross carrying amount 575,000 575,000    
Unamortized debt discount 104,620 110,110    
Debt issuance costs 10,505 11,056 $ 12,000  
Net carrying amount 459,875 453,834    
2022 Convertible Notes        
Debt Instrument [Line Items]        
Gross carrying amount 169,659 169,690   $ 300,000
Unamortized debt discount 8,958 10,815    
Debt issuance costs 1,074 1,297   $ 7,400
Net carrying amount $ 159,627 $ 157,578