v3.26.1
DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Schedule of Gain or Loss on Non-deliverable Forward Foreign-Exchange Contracts (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Forward foreign exchange contracts | Cash Flow Hedging        
Derivative [Line Items]        
Net Loss Reclassified from OCI into Earnings $ (271) $ 0 $ (271) $ 0