XML 37 R27.htm IDEA: XBRL DOCUMENT v3.22.2.2
Loans payable (Tables)
6 Months Ended
Jun. 30, 2022
Debt Disclosure [Abstract]  
Components of loans payable The following table shows the component of loans payable (in thousands):
June 30,December 31,
20222021
Loan payable, beginning of period$29,844 $13,624 
SIF contribution— 16,786 
Venture Loan20,000 — 
Payments(398)(399)
Interest on Venture Loan606 — 
Final fee on Venture Loan583 — 
Foreign exchange (gain) loss(452)(167)
Loan payable, end of period$50,183 $29,844 
Discount, beginning of period$(17,391)$(11,948)
SIF discount on additional contribution— (7,167)
Venture Loan discount(130)— 
Interest expense1,349 1,728 
Foreign exchange (gain) loss245 (4)
Discount, end of period$(15,927)$(17,391)
Total loans payable, end of period$34,256 $12,453 
Short-term portion21,353 220 
Long-term portion12,903 12,233 
Total loans payable$34,256 $12,453