Income tax - Schedule of Tax Character of Distributions (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Income Tax Disclosure [Abstract] | |||
| Ordinary income | $ 275.5 | $ 203.7 | $ 122.6 |
| Long-term capital gains | $ 0.0 | $ 43.1 | $ 55.2 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of dividend distribution by investment company from long-term capital gain. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of dividend distribution by investment company from ordinary income. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|