v3.26.1
Leases - Schedule of Future Minimum Lease Payments for Non-Cancelable Leases (Detail) - USD ($)
$ in Thousands
May 31, 2026
May 31, 2025
Leases [Abstract]    
2027 $ 9,814  
2028 8,051  
2029 5,937  
2030 5,730  
2031 5,250  
Thereafter 19,342  
Total 54,124  
Less: imputed interest (10,259)  
Present value of lease liabilities 43,865  
2027 1,565  
2028 1,438  
2029 1,108  
2030 562  
2031 204  
Thereafter 4,638  
Total 9,515  
Less: imputed interest (3,005)  
Present value of lease liabilities $ 6,510 $ 3,617
Finance Lease, Liability, Statement of Financial Position [Extensible Enumeration] Liabilities