v3.25.2
STOCK OWNERSHIP PLANS - Options Outstanding and Exercisable (Details) - Equity Option - $ / shares
shares in Thousands
9 Months Ended
May 31, 2025
Aug. 31, 2024
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Award outstanding, quantity (in shares) 1,985 1,906
Awards outstanding, weighted-average remaining contractual life 6 years 8 months 23 days  
Awards outstanding, weighted average exercise price (in usd per share) $ 37.18 $ 37.64
Awards exercisable, quantity (in shares) 1,004  
Awards exercisable, weighted-average remaining contractual life 5 years 1 month 9 days  
Awards exercisable, weighted average exercise price (in usd per share) $ 35.34  
$6.85 to $9.77    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Exercise price range, lower range limit (in usd per share) 6.85  
Exercise price range, upper range limit (in usd per share) $ 9.77  
Award outstanding, quantity (in shares) 92  
Awards outstanding, weighted-average remaining contractual life 8 months 26 days  
Awards outstanding, weighted average exercise price (in usd per share) $ 9.71  
Awards exercisable, quantity (in shares) 92  
Awards exercisable, weighted-average remaining contractual life 8 months 26 days  
Awards exercisable, weighted average exercise price (in usd per share) $ 9.71  
$9.78 to $18.76    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Exercise price range, lower range limit (in usd per share) 9.78  
Exercise price range, upper range limit (in usd per share) $ 18.76  
Award outstanding, quantity (in shares) 128  
Awards outstanding, weighted-average remaining contractual life 1 year 8 months 26 days  
Awards outstanding, weighted average exercise price (in usd per share) $ 10.08  
Awards exercisable, quantity (in shares) 128  
Awards exercisable, weighted-average remaining contractual life 1 year 8 months 26 days  
Awards exercisable, weighted average exercise price (in usd per share) $ 10.08  
$18.77 to $33.40    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Exercise price range, lower range limit (in usd per share) 18.77  
Exercise price range, upper range limit (in usd per share) $ 33.40  
Award outstanding, quantity (in shares) 481  
Awards outstanding, weighted-average remaining contractual life 7 years 8 months 26 days  
Awards outstanding, weighted average exercise price (in usd per share) $ 30.66  
Awards exercisable, quantity (in shares) 146  
Awards exercisable, weighted-average remaining contractual life 3 years 11 months 1 day  
Awards exercisable, weighted average exercise price (in usd per share) $ 26.09  
$33.41 to $47.63    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Exercise price range, lower range limit (in usd per share) 33.41  
Exercise price range, upper range limit (in usd per share) $ 47.63  
Award outstanding, quantity (in shares) 1,025  
Awards outstanding, weighted-average remaining contractual life 7 years 7 months 9 days  
Awards outstanding, weighted average exercise price (in usd per share) $ 41.36  
Awards exercisable, quantity (in shares) 439  
Awards exercisable, weighted-average remaining contractual life 7 years 1 month 24 days  
Awards exercisable, weighted average exercise price (in usd per share) $ 41.32  
$47.64 to $66.14    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Exercise price range, lower range limit (in usd per share) 47.64  
Exercise price range, upper range limit (in usd per share) $ 66.14  
Award outstanding, quantity (in shares) 259  
Awards outstanding, weighted-average remaining contractual life 5 years 11 months 15 days  
Awards outstanding, weighted average exercise price (in usd per share) $ 55.94  
Awards exercisable, quantity (in shares) 199  
Awards exercisable, weighted-average remaining contractual life 5 years 8 months 4 days  
Awards exercisable, weighted average exercise price (in usd per share) $ 57.07