XML 58 R36.htm IDEA: XBRL DOCUMENT v3.22.1
Stock-based compensation - Calculation of Fair Value of Stock Option Grant Under ESPP Using Black-Scholes Option-Pricing Model (Details)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Share-based Payment Arrangement [Abstract]    
Expected term (in years) 5 years 8 months 12 days 5 years 4 months 24 days
Risk-free interest rate 0.76% 0.32%
Expected volatility 70.20% 63.50%
Dividend rate 0.00% 0.00%