XML 112 R41.htm IDEA: XBRL DOCUMENT v3.23.2
Loans payable - Narrative (Details)
$ in Thousands, $ in Millions
3 Months Ended 6 Months Ended
Jul. 20, 2023
Jul. 13, 2023
USD ($)
Apr. 13, 2023
USD ($)
Nov. 20, 2020
USD ($)
Jun. 30, 2023
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2023
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2023
CAD ($)
Nov. 20, 2020
CAD ($)
Debt Instrument [Line Items]                    
Debt issuance costs         $ 1,393 $ 0 $ 1,393 $ 0    
Proceeds from Term Loan             14,357 $ 19,870    
SIF Loan | Other notes payable                    
Debt Instrument [Line Items]                    
Face amount         27,200   27,200   $ 36.0 $ 40.0
Term       15 years            
Repayment benchmark year, revenue       $ 70,000            
Repayment benchmark year, period       14 years           14 years
Discount percentage       26.00%           26.00%
Interest expense             800      
Foreign currency losses             200      
Term Loan | Line of credit                    
Debt Instrument [Line Items]                    
Face amount     $ 50,000              
Interest expense         $ 400   $ 400      
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         $ 1,400   $ 1,400      
Non-dilutive financing     $ 25,000              
Term Loan | Line of credit | Subsequent Event                    
Debt Instrument [Line Items]                    
Premium payment, percentage of amount prepaid from common stock issuance proceeds 10.00%                  
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              
Term Loan | Line of credit | Debt tranche two                    
Debt Instrument [Line Items]                    
Face amount     15,000              
Term Loan | Line of credit | Debt tranche two | Subsequent Event                    
Debt Instrument [Line Items]                    
Proceeds from Term Loan   $ 15,000                
Term Loan | Line of credit | Debt tranche three                    
Debt Instrument [Line Items]                    
Face amount     $ 20,000