v3.25.2
Acquisition, Restructuring and Other Items, net - Schedule of Restructuring Expense (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
Restructuring Cost and Reserve [Line Items]    
Accelerated depreciation $ 3,400 $ 2,400
Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration] Total  
Manufacturing Shift To Outsourced Model    
Restructuring Cost and Reserve [Line Items]    
Accelerated depreciation $ 13,600  
Manufacturing Shift To Outsourced Model | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 38,500  
Manufacturing Shift To Outsourced Model | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 43,250  
Manufacturing Shift To Outsourced Model | Israeli Innovation Authority prepayment | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 14,500  
Manufacturing Shift To Outsourced Model | Israeli Innovation Authority prepayment | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 15,250  
Manufacturing Shift To Outsourced Model | Termination Benefits | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 9,000  
Manufacturing Shift To Outsourced Model | Termination Benefits | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 10,000  
Manufacturing Shift To Outsourced Model | Outside Consultants | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 9,000  
Manufacturing Shift To Outsourced Model | Outside Consultants | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 10,000  
Manufacturing Shift To Outsourced Model | Validation Expenses | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 4,500  
Manufacturing Shift To Outsourced Model | Validation Expenses | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 5,500  
Manufacturing Shift To Outsourced Model | Regulatory Filings | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 750  
Manufacturing Shift To Outsourced Model | Regulatory Filings | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 1,250  
Manufacturing Shift To Outsourced Model | Other Costs | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 750  
Manufacturing Shift To Outsourced Model | Other Costs | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 1,250  
Manufacturing Shift To Outsourced Model, Modified    
Restructuring Cost and Reserve [Line Items]    
Accelerated depreciation 13,300  
Manufacturing Shift To Outsourced Model, Modified | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 33,400  
Manufacturing Shift To Outsourced Model, Modified | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 38,400  
Manufacturing Shift To Outsourced Model, Modified | Israeli Innovation Authority prepayment | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 16,000  
Manufacturing Shift To Outsourced Model, Modified | Israeli Innovation Authority prepayment | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 17,000  
Manufacturing Shift To Outsourced Model, Modified | Termination Benefits | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 6,200  
Manufacturing Shift To Outsourced Model, Modified | Termination Benefits | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 7,200  
Manufacturing Shift To Outsourced Model, Modified | Outside Consultants | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 7,500  
Manufacturing Shift To Outsourced Model, Modified | Outside Consultants | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 8,500  
Manufacturing Shift To Outsourced Model, Modified | Validation Expenses | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 3,400  
Manufacturing Shift To Outsourced Model, Modified | Validation Expenses | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 4,400  
Manufacturing Shift To Outsourced Model, Modified | Regulatory Filings | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 150  
Manufacturing Shift To Outsourced Model, Modified | Regulatory Filings | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 650  
Manufacturing Shift To Outsourced Model, Modified | Other Costs | Minimum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs 150  
Manufacturing Shift To Outsourced Model, Modified | Other Costs | Maximum    
Restructuring Cost and Reserve [Line Items]    
Estimated costs $ 650