XML 23 R51.htm IDEA: XBRL DOCUMENT v3.20.1
Convertible Senior Notes - Net carrying value of the liability component (Details) - Senior Notes - Convertible Debt - USD ($)
$ in Thousands
Apr. 30, 2020
Jul. 31, 2019
Debt Instrument [Line Items]    
Principal $ 400,000 $ 400,000
Debt discount 65,489 74,213
Debt issuance cost 7,591 8,465
Net carrying amount $ 326,920 $ 317,322