Quarterly report pursuant to Section 13 or 15(d)

Operating leases - Narrative (Details)

v3.23.3
Operating leases - Narrative (Details)
$ in Thousands
3 Months Ended 9 Months Ended
Nov. 09, 2022
USD ($)
a
ft²
Nov. 01, 2022
option
Sep. 30, 2023
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2023
USD ($)
Sep. 30, 2022
USD ($)
Apr. 07, 2023
USD ($)
Jan. 31, 2023
squareFoot
Dec. 31, 2022
USD ($)
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   $ 300   $ 44,300    
Operating lease equity liability for fully non-refundable shares             $ 1,500    
Lease premium over the original purchase price 1.50                
Operating lease, weighted average discount rate, percent     6.70%   6.70%        
Operating lease right-of-use assets     $ 37,099   $ 37,099       $ 39,331
Operating lease liability     39,509   39,509       40,800
Current portion of operating lease liabilities     $ 2,986   $ 2,986       $ 2,200
Weighted average remaining lease term (in years)     8 years 10 months 24 days   8 years 10 months 24 days       9 years 8 months 12 days
I-40 Warrants                  
Lessee, Lease, Description [Line Items]                  
Aggregate fair value     $ 900   $ 900        
Derivative liability     600   $ 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 (in acres) | a 121                
Payments to acquire facility $ 34,200                
TEXAS | Related Party                  
Lessee, Lease, Description [Line Items]                  
Related party lease expense     $ 200 $ 100 $ 500 $ 400