Income tax - Schedule of tax character of distributions (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2020 |
|
| Income Tax Disclosure [Abstract] | |||
| Investment Company, Distribution, Long-Term Capital Gain | $ 43.1 | $ 55.2 | $ 36.7 |
| Ordinary income | $ 203.7 | $ 122.6 | $ 118.0 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- References No definition available.
|