XML 38 R59.htm IDEA: XBRL DOCUMENT v3.20.1
DEBT - Summary of Liability Component of Convertible Notes (Details) - Convertible debt - USD ($)
$ in Thousands
Mar. 31, 2020
Dec. 31, 2019
2.5% Convertible Notes debt 2021    
Debt Instrument [Line Items]    
Principal amount of the Notes $ 42,465 $ 145,000
Unamortized discount of the liability component (3,767) (14,963)
Unamortized debt issuance costs (184) (725)
Total 38,514 129,312
5.0% Convertible Notes debt 2024    
Debt Instrument [Line Items]    
Principal amount of the Notes 34,522 120,000
Unamortized discount of the liability component (14,373) (51,701)
Unamortized debt issuance costs (797) (2,796)
Total $ 19,352 $ 65,503