XML 55 R44.htm IDEA: XBRL DOCUMENT v3.20.2
DEBT - Summary of Net Carrying Amount of Debt (Details) - USD ($)
$ in Thousands
Sep. 30, 2020
Dec. 31, 2019
Convertible Debt    
Debt Instrument [Line Items]    
Principal amount $ 300,000 $ 300,000
Unaccreted debt discount (17,930) (2,691)
Unamortized debt issuance costs (5,869) (4,135)
Debt, net of current portion 276,201 $ 293,174
Line of Credit    
Debt Instrument [Line Items]    
Principal amount 1,004,700  
Unaccreted debt discount (23,971)  
Unamortized debt issuance costs (22,237)  
Debt, net of current portion $ 958,492