v3.26.1
Leases - Other Information Related to Leases (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Cash paid for amounts included in the measurement of lease liabilities:      
Operating Leases, Operating cash flows $ 7,729 $ 6,648 $ 7,395
Operating Leases, ROU assets obtained in exchange for lease liabilities $ 26,611 $ 14,535 $ 3,446
Operating Leases, Weighted-average remaining lease term (in years) 7 years 7 months 13 days 4 years 11 months 19 days 3 years 6 months 18 days
Operating Leases, Weighted-average discount rate 4.95% 4.74% 3.44%
Financing Leases, Operating cash flows $ 274 $ 120 $ 116
Financing Leases, Financing cash flows 1,147 104 $ 50
Financing Leases, ROU assets obtained in exchange for lease liabilities $ 4,194 $ 647  
Financing Leases, Weighted-average remaining lease term (in years) 16 years 8 months 15 days 29 years 7 months 24 days 35 years 9 months 21 days
Financing Leases, Weighted-average discount rate 4.26% 4.08% 3.75%