XML 40 R28.htm IDEA: XBRL DOCUMENT v3.10.0.1
Convertible Senior Notes - Schedule of Net Carrying Amount of the Liability Component of the Notes (Details) - Convertible Debt - USD ($)
$ in Thousands
Oct. 31, 2018
Jul. 31, 2018
Debt Instrument [Line Items]    
Unamortized debt issuance costs   $ (8,800)
Convertible Senior Notes, Liability Component    
Debt Instrument [Line Items]    
Principal $ 300,000  
Unamortized debt discount (80,197)  
Unamortized debt issuance costs (6,111) $ (6,300)
Net carrying amount $ 213,692