XML 52 R41.htm IDEA: XBRL DOCUMENT v3.23.3
Loans payable - Narrative (Details)
3 Months Ended 9 Months Ended
Sep. 19, 2023
USD ($)
Jul. 20, 2023
USD ($)
Apr. 13, 2023
USD ($)
Nov. 20, 2020
USD ($)
Sep. 30, 2023
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2023
USD ($)
Sep. 30, 2022
USD ($)
Sep. 30, 2023
CAD ($)
Sep. 19, 2023
CAD ($)
Nov. 20, 2020
CAD ($)
Debt Instrument [Line Items]                      
Government assistance         $ 1,051,000 $ 0 $ 1,051,000 $ 0      
Unrealized foreign exchange gain             15,000 1,226,000      
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 $ 1,500,000       28,000,000   28,000,000   $ 38,000,000 $ 2,000,000 $ 40,000,000
Term       15 years              
Repayment benchmark year, revenue       $ 70,000,000              
Repayment benchmark year, period       14 years             14 years
Discount percentage       26.00%             26.00%
Government assistance $ 1,100,000                    
Interest expense         400,000   1,100,000        
Unrealized foreign exchange gain         200,000   100,000        
Term Loan | Line of credit                      
Debt Instrument [Line Items]                      
Face amount     $ 50,000,000.0                
Interest expense         $ 800,000   $ 1,200,000        
Drawdown fee percentage     2.00%                
Premium payment, percentage of amount prepaid from common stock issuance proceeds     10.00%                
Interest rate     10.00%   11.00%   11.00%   11.00%    
Interest rate, PIK     11.00%                
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