Fair value of financial instruments - Conversion Option Derivative (Details) - Derivative Financial Instruments, Assets - Level 3 - USD ($) $ in Millions |
3 Months Ended | |
|---|---|---|
Mar. 31, 2020 |
Mar. 31, 2019 |
|
| Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items] | ||
| Beginning balance of liability | $ 3.2 | $ 1.2 |
| Total unrealized loss | 2.6 | 4.7 |
| Currency transaction (gain) loss | (0.2) | 0.1 |
| Ending balance of liability | $ 5.6 | $ 6.0 |