XML 75 R61.htm IDEA: XBRL DOCUMENT v3.19.1
Convertible Senior Notes - Schedule of Net Carrying Amount of the Equity Component of the Notes (Details) - USD ($)
$ in Thousands
Jan. 31, 2019
Jul. 31, 2018
Debt Instrument [Line Items]    
Debt discount for conversion option   $ 84,200
Convertible Debt    
Debt Instrument [Line Items]    
Unamortized debt issuance costs   (8,800)
Convertible Senior Notes, Equity Component | Convertible Debt    
Debt Instrument [Line Items]    
Debt discount for conversion option $ 84,168  
Unamortized debt issuance costs (2,485) $ (2,500)
Net carrying amount $ 81,683