v3.26.1
Share Repurchase Plan (Details) - USD ($)
$ / shares in Units, $ in Thousands
9 Months Ended
May 31, 2026
May 31, 2025
Jun. 15, 2026
Jun. 19, 2023
Share Repurchase Program [Line Items]        
Share repurchase plan, amount authorized       $ 50,000
Number of shares repurchased (in shares) 108,925      
Average price of shares repurchased (in dollars per share) $ 206.99      
Total cost of repurchased shares $ 22,546 $ 9,739    
Share repurchase plan, remaining amount authorized $ 7,000      
Subsequent event        
Share Repurchase Program [Line Items]        
Share repurchase plan, amount authorized     $ 100,000