XML 62 R47.htm IDEA: XBRL DOCUMENT v3.20.2
CONVERTIBLE SENIOR NOTES - Components of Notes (Details) - USD ($)
$ in Thousands
Oct. 31, 2020
Jul. 31, 2020
Jan. 31, 2018
2023 Convertible Senior Notes      
Debt Instrument [Line Items]      
Net carrying amount $ 498,378 $ 490,222  
Convertible Debt | 2023 Convertible Senior Notes      
Debt Instrument [Line Items]      
Principal amount 575,000 575,000 $ 575,000
Unamortized discount (72,573) (80,298)  
Unamortized debt issuance cost (4,049) (4,480)  
Carrying amount of equity component $ 148,598 $ 148,598  
Effective interest rate 6.62%    
Payments of offering costs $ (3,000)   $ (3,000)
Convertible Debt | 2026 Convertible Senior Notes      
Debt Instrument [Line Items]      
Principal amount 750,000    
Unamortized discount (227,723)    
Unamortized debt issuance cost (26,018)    
Net carrying amount $ 496,259    
Effective interest rate 705.00%