XML 48 R36.htm IDEA: XBRL DOCUMENT v3.22.1
Fair Value Measurements - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
9 Months Ended
Apr. 30, 2022
Sep. 30, 2021
Sep. 15, 2021
Jul. 31, 2021
Sep. 24, 2020
Jan. 31, 2018
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Derivative Liability, Fair Value, Gross Liability     $ 698,200      
2023 Convertible Senior Notes | Convertible Debt            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Interest rate, stated percentage 0.00%         0.00%
Unamortized discount [1] $ 0     $ 48,616    
Unamortized debt issuance cost [1] $ 396     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]            
Interest rate, stated percentage 2.50%       2.50%  
Non Cash Interest Expense Converted To Principal $ 27,997     8,906    
Unamortized discount [2] 178,210     203,619    
Unamortized debt issuance cost [2] $ 20,361     $ 23,264    
2027 Convertible Senior Notes            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Interest rate, stated percentage 0.25%          
2027 Convertible Senior Notes | Convertible Debt            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Interest rate, stated percentage 0.25% 0.25%        
Unamortized debt issuance cost [3] $ 8,376          
Closing trading price $ 100          
[1] Included in the condensed 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 April 30, 2022, the effective interest rate was 0.41%.
[2] Included in the condensed 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 the condensed 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%.