v3.26.3
Leases - Schedule of Operating Lease Cost and Additional Lease Information (Details) - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2026
Aug. 31, 2025
May 31, 2026
Leases [Abstract]      
Cash paid for amounts included in the measurement of operating lease liabilities $ 16,550 $ 15,792  
Operating lease right-of-use assets obtained in exchange for new and renewed operating lease liabilities $ 15,618 $ 33,685  
Other information related to operating leases      
Weighted-average remaining lease term 5 years 7 months 2 days   5 years 8 months 4 days
Weighted-average discount rate 4.37%   4.34%