Quarterly report pursuant to Section 13 or 15(d)

Operating leases - Narrative (Details)

v3.24.1.1.u2
Operating leases - Narrative (Details)
$ in Thousands
3 Months Ended
Nov. 09, 2022
USD ($)
ft²
a
Nov. 01, 2022
option
Mar. 31, 2024
USD ($)
Mar. 31, 2023
USD ($)
Dec. 31, 2023
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            
Derivative Liability, Statement of Financial Position [Extensible Enumeration]     Derivative liability, non-current        
Operating lease, weighted average discount rate, percent     6.70%        
Operating lease right-of-use assets     $ 35,372   $ 36,241    
Operating lease liability     38,076   38,800    
Current portion of operating lease liabilities     $ 3,183   $ 3,100    
Weighted average remaining lease term (in years)     8 years 4 months 24 days   8 years 8 months 12 days    
I-40 Warrants              
Lessee, Lease, Description [Line Items]              
Aggregate fair value     $ 900        
Derivative liability, current     $ 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              
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     $ 200 $ 100