v3.25.2
Description of Business and Summary of Significant Accounting Policies - Supplemental Cash Flow Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Accounting Policies [Abstract]      
Interest paid, net of amount capitalized $ 11,955 $ 17,644 $ 29,272
Income taxes paid, net of refunds $ 39,582 $ 81,446 $ 65,910