v3.21.1
Shareholders' equity - Share-based compensation - Weighted average assumptions for the options granted (Details) - Options - $ / shares
3 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Share-based compensation    
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Exercise Price $ 6.31 $ 21.41
Share price (in dollars per share) $ 6.31 $ 21.41
Volatility (as a percent) 94.00% 82.00%
Risk-free interest rate (as a percent) 1.06% 1.60%
Expected life (in years) 6 years 1 month 6 days 6 years 2 months 27 days
Dividend (as a percent) 0.00% 0.00%