XML 56 R46.htm IDEA: XBRL DOCUMENT v3.24.0.1
Loans payable - Narrative (Details)
3 Months Ended 9 Months Ended
Jul. 20, 2023
USD ($)
Apr. 13, 2023
USD ($)
Sep. 30, 2023
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2023
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2023
CAD ($)
Nov. 20, 2020
USD ($)
Nov. 20, 2020
CAD ($)
Debt Instrument [Line Items]                  
Premium payment, percentage of amount prepaid from common stock issuance proceeds 10.00%                
Debt issuance costs     $ 725,000 $ 0 $ 2,118,000 $ 0      
ELOC, right to sell common stock, amount $ 50,000,000                
SIF Loan | Other notes payable                  
Debt Instrument [Line Items]                  
Face amount             $ 38,000,000   $ 40,000,000
Prepayment rate               150.00% 150.00%
Repayment benchmark year, revenue               $ 70,000,000  
Repayment benchmark year, period               14 years 14 years
Effective interest rate       2.36%   2.36% 2.50%    
Term Loan | Line of credit                  
Debt Instrument [Line Items]                  
Face amount   $ 50,000,000.0              
Drawdown fee percentage   2.00%              
Premium payment, percentage of amount prepaid from common stock issuance proceeds   10.00%              
Interest rate   10.00%         11.00%    
Interest rate, PIK   11.00%              
Interest expense     800,000   1,200,000        
Debt issuance costs     $ 2,100,000   $ 2,100,000        
Non-dilutive financing   $ 25,000,000.0              
Term Loan | Line of credit | Debt repayment period one                  
Debt Instrument [Line Items]                  
Prepayment premium percentage   3.00%              
Term Loan | Line of credit | Debt repayment period two                  
Debt Instrument [Line Items]                  
Prepayment premium percentage   2.00%              
Term Loan | Line of credit | Debt repayment period three                  
Debt Instrument [Line Items]                  
Prepayment premium percentage   1.00%              
Term Loan | Line of credit | Debt tranche one                  
Debt Instrument [Line Items]                  
Face amount   $ 15,000,000.0              
Term Loan | Line of credit | Debt tranche three                  
Debt Instrument [Line Items]                  
Face amount   $ 20,000,000.0