XML 55 R44.htm IDEA: XBRL DOCUMENT v3.23.1
Fair Value Measurements - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
6 Months Ended
Jan. 31, 2023
Jul. 31, 2022
Sep. 30, 2021
Sep. 22, 2021
Sep. 15, 2021
Sep. 24, 2020
Jan. 31, 2018
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]              
Derivative Liability, Subject to Master Netting Arrangement, before Offset         $ 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%
Unamortized debt issuance cost [1] $ 0 $ 248          
Closing trading price $ 100            
Debt outstanding       $ 145,700      
Repayments of debt $ 145,700            
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 $ 37,722 27,997          
Unamortized discount [2] 151,426 169,438          
Unamortized debt issuance cost [2] $ 17,301 19,359          
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] $ 7,231 $ 7,995          
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. 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%.