XML 73 R57.htm IDEA: XBRL DOCUMENT v3.22.2.2
Balance Sheet Components - Property, plant, and equipment (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Property, Plant and Equipment [Line Items]      
Property, plant, and equipment excluding equipment and construction In progress, gross $ 422,026 $ 748,052  
Less accumulated depreciation (233,340) (348,749)  
Property, plant and equipment excluding equipment and construction in progress, net 188,686 399,303  
Equipment and construction in progress 129,980 37,674  
Property, plant and equipment, net 318,666 436,977  
Depreciation expense 39,900 49,300 $ 43,900
Finance lease liabilities 802 16,724  
Accumulated depreciation 136 96,470  
Land      
Property, Plant and Equipment [Line Items]      
Property, plant, and equipment excluding equipment and construction In progress, gross 4,877 4,877  
Building      
Property, Plant and Equipment [Line Items]      
Property, plant, and equipment excluding equipment and construction In progress, gross 16,691 71,454  
Manufacturing machinery and equipment      
Property, Plant and Equipment [Line Items]      
Property, plant, and equipment excluding equipment and construction In progress, gross 287,574 515,320  
Equipment and tooling      
Property, Plant and Equipment [Line Items]      
Property, plant, and equipment excluding equipment and construction In progress, gross 28,052 27,017  
Computer equipment and software      
Property, Plant and Equipment [Line Items]      
Property, plant, and equipment excluding equipment and construction In progress, gross 46,758 41,518  
Office furniture and equipment      
Property, Plant and Equipment [Line Items]      
Property, plant, and equipment excluding equipment and construction In progress, gross 2,820 3,814  
Leasehold improvements      
Property, Plant and Equipment [Line Items]      
Property, plant, and equipment excluding equipment and construction In progress, gross 35,254 74,733  
Land use rights      
Property, Plant and Equipment [Line Items]      
Property, plant, and equipment excluding equipment and construction In progress, gross 0 9,319  
Computer software development      
Property, Plant and Equipment [Line Items]      
Finance lease liabilities 300 300 1,000
Accumulated depreciation 400 500 $ 500
Unamortized capitalized software development costs $ 800 $ 1,200