XML 110 R40.htm IDEA: XBRL DOCUMENT v3.24.0.1
Term loan (Details)
$ in Thousands
1 Months Ended 12 Months Ended
Dec. 27, 2023
USD ($)
loanAdvance
Mar. 24, 2023
USD ($)
Nov. 30, 2020
USD ($)
Dec. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
Oct. 14, 2022
USD ($)
loanAdvance
Debt Instrument [Line Items]            
Proceeds from Oxford Term Loan       $ 9,996 $ 10,000  
Repayment of Oxford term loan       0 5,000  
Payments of lenders and third party fees       $ 12 $ 245  
Term Loan Facility | Secured Debt            
Debt Instrument [Line Items]            
Debt instrument, face amount     $ 30,000      
Proceeds from Oxford Term Loan     5,000      
Term B Loan | Secured Debt            
Debt Instrument [Line Items]            
Debt instrument, face amount     10,000      
Term C Loan | Secured Debt            
Debt Instrument [Line Items]            
Debt instrument, face amount     $ 15,000      
Oxford Term Loan | Line of Credit            
Debt Instrument [Line Items]            
Maximum borrowing capacity           $ 150,000
Number of loan advances | loanAdvance           4
Oxford Term Loan | Secured Debt            
Debt Instrument [Line Items]            
Repayment of Oxford term loan $ 20,000          
Oxford Term A Loan | Line of Credit            
Debt Instrument [Line Items]            
Maximum borrowing capacity           $ 10,000
Oxford Term B, C, D, E Loan | Line of Credit            
Debt Instrument [Line Items]            
Maximum borrowing capacity           $ 140,000
Oxford Term B Loan | Line of Credit            
Debt Instrument [Line Items]            
Proceeds from lines of credit   $ 10,000        
2023 Term B | Line of Credit            
Debt Instrument [Line Items]            
Maximum borrowing capacity 100,000          
2023 Term C | Line of Credit            
Debt Instrument [Line Items]            
Maximum borrowing capacity 75,000          
2023 Term D | Line of Credit            
Debt Instrument [Line Items]            
Maximum borrowing capacity 75,000          
2023 Term E Loan | Line of Credit            
Debt Instrument [Line Items]            
Maximum borrowing capacity 100,000          
2023 Term A Loan | Line of Credit            
Debt Instrument [Line Items]            
Maximum borrowing capacity $ 50,000          
2023 Term A Loan | Line of Credit | Base Rate            
Debt Instrument [Line Items]            
Term loan increase 11.19%          
2023 Term A Loan | Line of Credit | Debt Instrument Interest Rate, Period One | Base Rate            
Debt Instrument [Line Items]            
Basis spread on variable rate 5.85%          
2023 Term A Loan | Line of Credit | Debt Instrument Interest Rate, Period One | Minimum | Base Rate            
Debt Instrument [Line Items]            
Basis spread on variable rate 5.34%          
2023 Term A Loan | Secured Debt            
Debt Instrument [Line Items]            
Proceeds from Oxford Term Loan $ 50,000          
Net proceeds 28,400          
2023 Term Loan | Line of Credit            
Debt Instrument [Line Items]            
Maximum borrowing capacity $ 400,000          
Number of loan advances | loanAdvance 4          
Effective interest       11.00%    
2023 Term Loan | Line of Credit | Base Rate            
Debt Instrument [Line Items]            
Term loan increase 2.00%          
2023 Term Loan | Line of Credit | Minimum            
Debt Instrument [Line Items]            
Term loan threshold $ 50,000          
Market capitalization, company value 3,000,000          
Average daily VWAP multiplied by total number of issued and outstanding 1,500,000          
2023 Term Loan | Line of Credit | Maximum            
Debt Instrument [Line Items]            
Average daily VWAP multiplied by total number of issued and outstanding 3,000,000          
2023 Term Loan | Secured Debt            
Debt Instrument [Line Items]            
Debt instrument, face amount 400,000          
Payments of lenders and third party fees 1,400          
Interest expense $ 200          
Interest rate in the event of default 5.00%          
Denomination multiple $ 5,000          
2023 Term Loan | Secured Debt | First Anniversary            
Debt Instrument [Line Items]            
Prepayment fee (in percent) 2.00%          
2023 Term Loan | Secured Debt | Second Anniversary            
Debt Instrument [Line Items]            
Prepayment fee (in percent) 1.50%          
2023 Term Loan | Secured Debt | After Second Anniversary and Prior to Maturity            
Debt Instrument [Line Items]            
Prepayment fee (in percent) 1.00%          
2023 Term Loan | Secured Debt | Minimum            
Debt Instrument [Line Items]            
Final payment (in percent) 2.50%          
2023 Term Loan | Secured Debt | Maximum            
Debt Instrument [Line Items]            
Final payment (in percent) 3.50%