XML 67 R44.htm IDEA: XBRL DOCUMENT v3.20.1
CONVERTIBLE SENIOR NOTES - Components of Notes (Details) - USD ($)
$ in Thousands
Apr. 30, 2020
Jul. 31, 2019
Jan. 31, 2018
Debt Instrument [Line Items]      
Convertible senior notes, net $ 482,200 $ 458,910  
Convertible Debt      
Debt Instrument [Line Items]      
Principal amount 575,000 575,000 $ 575,000
Unamortized discount (87,897) (109,956)  
Unamortized debt issuance cost (4,903) (6,134)  
Carrying amount of the equity component $ 148,598 $ 148,598  
Effective interest rate 6.62%    
Payments of offering costs $ (3,000)   $ (3,000)