Derivative Instruments - Narrative (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | |||
---|---|---|---|---|---|
Jan. 31, 2023 |
Jan. 31, 2022 |
Jan. 31, 2023 |
Jan. 31, 2022 |
Jul. 31, 2022 |
|
Derivative [Line Items] | |||||
Unrealized losses related to our cash flow hedges | $ 2,900 | ||||
Gain (loss) recognized on cash flow hedges | $ (24,019) | $ 3,164 | $ (9,980) | $ 4,469 | |
Maximum | |||||
Derivative [Line Items] | |||||
Term of derivative | 24 months | ||||
Designated as Hedging Instrument | |||||
Derivative [Line Items] | |||||
Notional amount | 409,200 | $ 409,200 | $ 293,400 | ||
Not Designated as Hedging Instrument | |||||
Derivative [Line Items] | |||||
Notional amount | $ 156,200 | $ 156,200 | $ 126,400 | ||
Foreign currency contracts | Not Designated as Hedging Instrument | Minimum | |||||
Derivative [Line Items] | |||||
Term of derivative | 1 month | 1 month | |||
Foreign currency contracts | Not Designated as Hedging Instrument | Maximum | |||||
Derivative [Line Items] | |||||
Term of derivative | 4 months | 4 months |