v3.25.1
Balance Sheet Components - Schedule of Property, Plant, and Equipment, Net (Details) - USD ($)
$ in Thousands
Mar. 31, 2025
Jun. 30, 2024
Property, Plant and Equipment [Line Items]    
Property, plant and equipment, gross $ 734,553 $ 627,904
Accumulated depreciation and amortization (241,988) (213,896)
Property, plant and equipment, net 492,565 414,008
Land    
Property, Plant and Equipment [Line Items]    
Property, plant and equipment, gross 162,963 150,137
Buildings    
Property, Plant and Equipment [Line Items]    
Property, plant and equipment, gross 182,461 163,764
Machinery and equipment    
Property, Plant and Equipment [Line Items]    
Property, plant and equipment, gross 187,133 156,496
Building and leasehold improvements    
Property, Plant and Equipment [Line Items]    
Property, plant and equipment, gross 119,360 72,075
Furniture and fixtures    
Property, Plant and Equipment [Line Items]    
Property, plant and equipment, gross 53,062 46,241
Software    
Property, Plant and Equipment [Line Items]    
Property, plant and equipment, gross 28,905 24,363
Construction in progress    
Property, Plant and Equipment [Line Items]    
Property, plant and equipment, gross $ 669 $ 14,828