Annual report pursuant to Section 13 and 15(d)

Operating leases - Narrative (Details)

v3.24.1
Operating leases - Narrative (Details)
$ in Thousands
12 Months Ended
Nov. 09, 2022
USD ($)
ft²
a
Nov. 01, 2022
option
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Apr. 07, 2023
USD ($)
Jan. 31, 2023
squareFoot
Lessee, Lease, Description [Line Items]            
Number of options to extend the lease term | option   1        
Operating lease renewal term (in years)   5 years        
Lease not yet commenced, operating lease liability to be paid     $ 300   $ 44,300  
Operating lease equity liability for fully non-refundable shares         $ 1,500  
Lease premium over the original purchase price 1.500          
Operating lease, weighted average discount rate, percent     6.70%      
Operating lease right-of-use assets     $ 36,241 $ 39,331    
Present value of operating lease liabilities     38,808 40,800    
Current portion of operating lease liabilities     $ 3,086 $ 2,200    
Weighted average remaining lease term (in years)     8 years 8 months 12 days 9 years 8 months 12 days    
Derivative Liability, Statement of Financial Position [Extensible Enumeration]     Derivative liability, non-current      
I-40 Warrants            
Lessee, Lease, Description [Line Items]            
Aggregate fair value     $ 900      
Derivative liability     $ 600      
Imputed interest rate     10.00%      
Maximum            
Lessee, Lease, Description [Line Items]            
Lease term (in years)         10 years  
Minimum            
Lessee, Lease, Description [Line Items]            
Lease term (in years)         5 years  
Real Estate Facility In Justin, Texas            
Lessee, Lease, Description [Line Items]            
Number of square feet | squareFoot           8,000
Term of lease (in years)   3 years 5 months        
OKLAHOMA | Purchase And Sale Agreement For Manufacturing Facility Member            
Lessee, Lease, Description [Line Items]            
Asset acquired, building, number of square feet | ft² 630,000          
Area of land acquired (in acres) | a 121          
Payments to acquire facility $ 34,200          
TEXAS | Related Party            
Lessee, Lease, Description [Line Items]            
Related party lease expense     $ 600 $ 500