v3.21.1
Shareholders' equity - Share-based compensation (Details) - shares
3 Months Ended 12 Months Ended
Mar. 31, 2021
Dec. 31, 2018
Jan. 01, 2021
Dec. 31, 2020
Mar. 31, 2020
Dec. 31, 2019
2011 Plan            
Share-based compensation            
Options outstanding 2,063,334     2,080,087 2,305,826 2,364,526
Number of options forfeited after termination of one plan   72,186        
2019 Plan            
Share-based compensation            
Options outstanding 3,568,890     1,706,190 982,550 220,140
Shares reserved for issuance 4,562,467   1,193,119 980,229 3,316,239  
Shares available for future grants 992,327          
Options | 2011 Plan            
Share-based compensation            
Vesting period 4 years          
Options | 2011 Plan | Share-based Compensation Award, Tranche One            
Share-based compensation            
Percentage of shares to vest 25.00%          
Options | 2011 Plan | Share-based Compensation Award, Tranche Two            
Share-based compensation            
Percentage of shares to vest 2.70%          
Options | 2019 Plan            
Share-based compensation            
Vesting period 4 years          
Options | 2019 Plan | Share-based Compensation Award, Tranche One            
Share-based compensation            
Percentage of shares to vest 25.00%          
Options | 2019 Plan | Share-based Compensation Award, Tranche Two            
Share-based compensation            
Percentage of shares to vest 2.70%