Derivative Instruments - Schedule of Derivative Instruments (Details) - Not Designated as Hedging Instrument - USD ($) $ in Thousands |
Apr. 30, 2024 |
Jul. 31, 2023 |
|---|---|---|
| Derivative [Line Items] | ||
| Notional amount | $ 100,000 | $ 105,610 |
| Interest rate swap contract | ||
| Derivative [Line Items] | ||
| Notional amount | 100,000 | 100,000 |
| Foreign currency forward contracts | ||
| Derivative [Line Items] | ||
| Notional amount | $ 0 | $ 5,610 |