Income tax - Schedule of Components of Distributable Earnings (Details) - USD ($) $ in Thousands |
Dec. 31, 2025 |
Dec. 31, 2024 |
Dec. 31, 2023 |
|---|---|---|---|
| Income Tax Contingency [Line Items] | |||
| Accumulated capital gains | $ (6,521) | $ 11,137 | $ (8,190) |
| Unrealized appreciation (depreciation) | (15,565) | (49,546) | 33,029 |
| Total distributable earnings | 101,151 | 88,920 | 140,013 |
| Other temporary differences | |||
| Income Tax Contingency [Line Items] | |||
| Total distributable earnings | (26,657) | (25,107) | (18,609) |
| Undistributed ordinary income | |||
| Income Tax Contingency [Line Items] | |||
| Total distributable earnings | $ 149,894 | $ 152,436 | $ 133,783 |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
| X | ||||||||||
- Definition Amount of accumulated undistributed earnings (deficit) from unrealized appreciation (depreciation) of investment company. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of accumulated undistributed earnings (deficit) from long-term capital gain (loss) of investment company. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of accumulated undistributed earnings (deficit). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|