XML 50 R40.htm IDEA: XBRL DOCUMENT v3.22.2
Warrants and derivative liability (Details)
6 Months Ended
Jun. 30, 2022
USD ($)
shares
Sep. 15, 2021
USD ($)
item
$ / shares
shares
Jun. 30, 2022
USD ($)
Mar. 14, 2022
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
Class of Warrant or Right [Line Items]          
Warrants exercised | shares 0        
Expected volatility          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input 97   97   95
Expected dividends          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input 0   0   0
Expected term          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input 5.00   5.00   5.00
Risk-free rate          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input 3.01   3.01   1.26
Loan agreement          
Class of Warrant or Right [Line Items]          
Maximum borrowing capacity   $ 50,000,000.0      
First Tranche Term Loan          
Class of Warrant or Right [Line Items]          
Issued warrant exercisable | shares   147,600      
Exercise price | $ / shares   $ 2.29      
Derivative liability, included in other long-term liabilities   $ 300,000      
First Tranche Term Loan | Expected volatility          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input   95      
First Tranche Term Loan | Expected dividends          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input   0      
First Tranche Term Loan | Expected term          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input   5.00      
First Tranche Term Loan | Risk-free rate          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input   0.81      
Second Tranche Term Loan          
Class of Warrant or Right [Line Items]          
Issued warrant exercisable | shares       98,399  
Exercise price | $ / shares       $ 2.29  
Change in fair value of warrants     $ 100,000    
Derivative liability, included in other long-term liabilities       $ 200,000  
Second Tranche Term Loan | Expected volatility          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input       93  
Second Tranche Term Loan | Expected dividends          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input       0  
Second Tranche Term Loan | Expected term          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input       5.00  
Second Tranche Term Loan | Risk-free rate          
Class of Warrant or Right [Line Items]          
Warrants and rights outstanding, measurement input       2.10  
Additional Warrants          
Class of Warrant or Right [Line Items]          
Warrants obligated to be issued upon the funding of the second, third and fourth tranche term loans | item   344,398      
Derivative liability, included in other long-term liabilities $ 300,000   $ 300,000