v3.26.1
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule Net Effect of Foreign Currency Translation (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Accounting Policies [Abstract]        
Effect on other comprehensive income due to foreign currency restatement $ 14,316 $ 2,048 $ 48,708 $ 6,540