XML 109 R87.htm IDEA: XBRL DOCUMENT v3.23.1
Income taxes - Schedule of Effective Income Tax Rate Reconciliation (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income Tax Disclosure [Abstract]      
Tax at federal statutory rate $ (29,034) $ (20,323) $ (22,344)
State income taxes, net of federal benefit 57 (644) 1,330
Stock compensation 5,587 1,271 2,786
Foreign rate differential 25 (2) 0
Tax credits (539) (539) (539)
Fair value changes - warrants (1,564) (619) 11,192
Valuation allowance 25,666 20,058 (6,812)
Non-deductible expenses 78 (2,031) (485)
Convertible debt cancellation of indebtedness income 0 0 15,079
Other 29 35 168
Total tax provision (benefit) $ 305 $ (2,794) $ 375