XML 72 R58.htm IDEA: XBRL DOCUMENT v3.22.1
DEBT - Components of Notes (Details) - USD ($)
$ in Thousands
Mar. 31, 2022
Jan. 01, 2022
Dec. 31, 2021
Jul. 24, 2020
May 31, 2017
Debt Instrument [Line Items]          
Net carrying amount $ 564,981 $ 564,220 $ 478,151    
2025 Convertible Notes          
Debt Instrument [Line Items]          
Gross carrying amount 575,000   575,000    
Unamortized debt discount 0   87,994    
Debt issuance costs 10,019   8,855 $ 12,000  
Net carrying amount 564,981   478,151    
2022 Convertible Notes          
Debt Instrument [Line Items]          
Gross carrying amount 169,659   169,659    
Unamortized debt discount 0   3,260    
Debt issuance costs 175   391   $ 7,400
Net carrying amount $ 169,484   $ 166,008