v3.24.1.1.u2
Derivative Instruments - Schedule of Derivative Instruments, Gains and Losses in the Condensed Consolidated Statements of Operations (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Apr. 30, 2024
Apr. 30, 2023
Derivative [Line Items]        
Total (gain) loss     $ (1,717) $ 2,943
Not Designated as Hedging Instrument        
Derivative [Line Items]        
Total (gain) loss $ (2,975) $ 882 (1,717) 2,943
Not Designated as Hedging Instrument | Interest rate swap contract        
Derivative [Line Items]        
Total (gain) loss (2,975) 900 (1,786) 3,273
Not Designated as Hedging Instrument | Foreign currency forward contracts        
Derivative [Line Items]        
Total (gain) loss $ 0 $ (18) $ 69 $ (330)