v3.26.1
Income Taxes - Schedule of Reconciliation Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
Reconciliation of Unrecognized Tax Benefits [Roll Forward]    
Beginning balance $ 58,008 $ 41,746
Additions for tax positions of the current year 14,428 14,001
Additions for tax positions of prior years   3,791
Settlements (4,180)  
Statute expirations (5,536) (1,530)
Ending balance $ 62,720 $ 58,008