Property, Plant and Equipment, Net and Assets Held for Sale (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Sep. 30, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Property, Plant and Equipment, Net        
Property, plant and equipment, gross   $ 570 $ 69,386  
Less: Accumulated depreciation and amortization   (424) (17,856)  
Property, plant and equipment, net   146 51,530  
Assets held for sale   4,070 0  
Depreciation and amortization expense   6,300 7,700 $ 5,700
2022 Restructuring Plan        
Property, Plant and Equipment, Net        
Impairment charges $ 17,800      
Impairment of property, plant and equipment | 2022 Restructuring Plan        
Property, Plant and Equipment, Net        
Impairment charges   25,800    
Land        
Property, Plant and Equipment, Net        
Property, plant and equipment, gross   0 1,300  
Manufacturing facility        
Property, Plant and Equipment, Net        
Property, plant and equipment, gross   0 33,203  
Manufacturing equipment        
Property, Plant and Equipment, Net        
Property, plant and equipment, gross   0 8,831  
Laboratory equipment        
Property, Plant and Equipment, Net        
Property, plant and equipment, gross   0 17,501  
Computer equipment        
Property, Plant and Equipment, Net        
Property, plant and equipment, gross   0 2,645  
Furniture and fixtures        
Property, Plant and Equipment, Net        
Property, plant and equipment, gross   0 1,281  
Leasehold improvements        
Property, Plant and Equipment, Net        
Property, plant and equipment, gross   570 444  
Construction-in-progress        
Property, Plant and Equipment, Net        
Property, plant and equipment, gross   $ 0 $ 4,181