XML 109 R81.htm IDEA: XBRL DOCUMENT v3.24.2
Stock-Based Compensation - Schedule of Non-qualified Stock Options Granted (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
May 31, 2024
May 31, 2023
May 31, 2022
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Granted 58 84 55
Weighted average exercise price, per common share $ 68.68 $ 46.39 $ 60.19
Weighted average grant date fair value, per common share $ 25.61 $ 16.36 $ 19.76
Stock-based compensation $ 16,688 $ 19,178 $ 16,100
Non-Qualified Stock Options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation $ 1,485 $ 1,381 $ 1,077