XML 142 R77.htm IDEA: XBRL DOCUMENT v3.22.0.1
Share capital - Schedule of Fair Value Assumptions Used Only for Equity Based Awards Estimated Using Black-Scholes Option Pricing Model (Details)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Dividend yield 0.00%    
ESPP      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years) 6 months 6 months 6 months
Dividend yield 0.00% 0.00% 0.00%
ESPP | Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected volatility 54.00% 47.00% 44.00%
Risk-free interest rate 0.05% 0.17% 2.10%
ESPP | Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected volatility 81.00% 66.00% 62.00%
Risk-free interest rate 0.09% 1.57% 2.51%
Stock Option Plans      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Dividend yield 0.00% 0.00% 0.00%
Stock Option Plans | Minimum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years) 5 years 6 months 5 years 6 months 5 years 6 months
Expected volatility 60.00% 54.00% 55.00%
Risk-free interest rate 0.78% 0.30% 1.73%
Stock Option Plans | Maximum      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Expected term (years) 6 years 6 years 6 years
Expected volatility 63.00% 56.00% 61.00%
Risk-free interest rate 1.27% 0.86% 2.40%