XML 51 R41.htm IDEA: XBRL DOCUMENT v3.22.2.2
Loans payable - Components (Details)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2022
USD ($)
Dec. 31, 2021
USD ($)
Loans payable    
Loan payable, beginning of period $ 29,844 $ 13,624
Contributions 20,000 16,786
Payments (398) (399)
Interest expense 606 0
Final fee on Venture Loan 583 0
Foreign exchange (gain) loss (452) (167)
Loan payable, end of period 50,183 29,844
Discount    
Discount, beginning of period (17,391) (11,948)
Additional contribution discount (130) (7,167)
Interest expense 1,349 1,728
Foreign exchange (gain) loss 245 (4)
Discount, end of period (15,927) (17,391)
Total loans payable 34,256 12,453
Current portion of equipment financing 21,353 220
Loans payable, noncurrent $ 12,903 $ 12,233