v3.26.1
Derivatives and Hedging - Schedule of Derivative Instruments Gain (Loss) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Sales        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Total gain (loss) $ (291) $ (74) $ (379) $ (488)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Net sales Net sales Net sales Net sales
Sales | Foreign currency forward contracts        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax $ (291) $ (74) $ (379) $ (488)
Sales | Warrants to purchase shares        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax 0 0 0 0
Sales | Interest rate swap agreements        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax 0 0 0 0
Other Income, net        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Total gain (loss) $ 6,849   $ 6,915  
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Other income (expense), net   Other income (expense), net  
Other Income, net | Foreign currency forward contracts        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax $ 0   $ 66  
Other Income, net | Warrants to purchase shares        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax 6,849   6,849  
Other Income, net | Interest rate swap agreements        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax 0   0  
Interest Expense        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Total gain (loss) $ 74 $ (49) $ 97 $ (46)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Interest Income (Expense), Nonoperating Interest Income (Expense), Nonoperating Interest Income (Expense), Nonoperating Interest Income (Expense), Nonoperating
Interest Expense | Foreign currency forward contracts        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax $ 0 $ 0 $ 0 $ 0
Interest Expense | Warrants to purchase shares        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax 0 0 0 0
Interest Expense | Interest rate swap agreements        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax $ 74 $ (49) $ 97 $ (46)