XML 65 R42.htm IDEA: XBRL DOCUMENT v3.22.2.2
Fair Value Measurements - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jul. 31, 2022
Sep. 15, 2021
Jul. 31, 2021
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Derivative Liability, Fair Value, Gross Liability, Total   $ 698,200  
2023 Convertible Senior Notes | Convertible Debt      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Unamortized discount [1] $ 0   $ 48,616
Unamortized debt issuance cost [1] $ 248   2,713
Closing trading price $ 100    
2026 Convertible Senior Notes | Convertible Debt      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Unamortized discount [2] $ 169,438   203,619
Unamortized debt issuance cost [2] 19,359   23,264
Non Cash Interest Expense Converted To Principal 27,997   $ 8,906
2027 Convertible Senior Notes | Convertible Debt      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Unamortized debt issuance cost [3] $ 7,995    
Closing trading price $ 100    
[1] Included in our consolidated balance sheets within convertible senior notes, net and amortized over the remaining life of the 2023 Notes using the effective interest rate method. As of July 31, 2021, the effective interest rate was 6.62%. As of July 31, 2022, the effective interest rate was 0.41%.
[2] Included in our consolidated balance sheets within convertible senior notes, net and amortized over the remaining life of the 2026 Notes using the effective interest rate method. The effective interest rate is 7.05%
[3] Included in our consolidated balance sheets within convertible senior notes, net and amortized over the remaining life of the 2027 Notes using the effective interest rate method. The effective interest rate is 0.52%.