Debt - Schedule of Available and Outstanding Debt (Details) - USD ($) $ in Thousands |
Dec. 31, 2024 |
Jul. 09, 2024 |
Dec. 31, 2023 |
Jan. 31, 2023 |
Jun. 23, 2022 |
Jun. 22, 2022 |
Jan. 20, 2022 |
Sep. 16, 2021 |
Mar. 04, 2021 |
Nov. 04, 2020 |
Oct. 27, 2020 |
Jun. 03, 2020 |
Feb. 05, 2020 |
Jul. 16, 2019 |
Sep. 24, 2018 |
||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | $ 2,329,475 | $ 2,215,000 | |||||||||||||||||||
| Principal Outstanding | 1,783,265 | 1,570,000 | |||||||||||||||||||
| Carrying value | 1,768,955 | 1,554,869 | |||||||||||||||||||
| SMBC LC Facility | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Maximum borrowing capacity | $ 175,000 | ||||||||||||||||||||
| SBA Debentures | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | [1] | 350,000 | 175,000 | ||||||||||||||||||
| Principal Outstanding | [1] | 279,000 | 175,000 | ||||||||||||||||||
| Carrying value | [1] | 271,371 | 170,323 | ||||||||||||||||||
| Maximum borrowing capacity | 350,000 | ||||||||||||||||||||
| SBA Debentures | HC IV | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 175,000 | ||||||||||||||||||||
| Maximum borrowing capacity | 175,000 | 175,000 | $ 175,000 | ||||||||||||||||||
| SBA Debentures | SBIC V | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 104,000 | ||||||||||||||||||||
| Maximum borrowing capacity | 175,000 | $ 175,000 | |||||||||||||||||||
| July 2024 Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 0 | 105,000 | $ 105,000 | ||||||||||||||||||
| Principal Outstanding | 0 | 105,000 | |||||||||||||||||||
| Carrying value | 0 | 104,828 | |||||||||||||||||||
| February 2025 Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 50,000 | 50,000 | $ 50,000 | ||||||||||||||||||
| Principal Outstanding | 50,000 | 50,000 | |||||||||||||||||||
| Carrying value | 49,981 | 49,866 | |||||||||||||||||||
| June 2025 Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 70,000 | 70,000 | $ 70,000 | ||||||||||||||||||
| Principal Outstanding | 70,000 | 70,000 | |||||||||||||||||||
| Carrying value | 69,919 | 69,757 | |||||||||||||||||||
| June 2025 3-Year Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 50,000 | 50,000 | $ 50,000 | ||||||||||||||||||
| Principal Outstanding | 50,000 | 50,000 | |||||||||||||||||||
| Carrying value | 49,926 | 49,771 | |||||||||||||||||||
| March 2026 A Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 50,000 | 50,000 | $ 50,000 | ||||||||||||||||||
| Principal Outstanding | 50,000 | 50,000 | |||||||||||||||||||
| Carrying value | 49,889 | 49,795 | |||||||||||||||||||
| March 2026 B Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 50,000 | 50,000 | $ 50,000 | ||||||||||||||||||
| Principal Outstanding | 50,000 | 50,000 | |||||||||||||||||||
| Carrying value | 49,880 | 49,776 | |||||||||||||||||||
| September 2026 Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 325,000 | 325,000 | $ 325,000 | ||||||||||||||||||
| Principal Outstanding | 325,000 | 325,000 | |||||||||||||||||||
| Carrying value | 323,321 | 322,339 | |||||||||||||||||||
| January 2027 Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 350,000 | 350,000 | $ 350,000 | ||||||||||||||||||
| Principal Outstanding | 350,000 | 350,000 | |||||||||||||||||||
| Carrying value | 347,265 | 345,935 | |||||||||||||||||||
| 2031 Asset-Backed Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 119,475 | 150,000 | $ 150,000 | ||||||||||||||||||
| Principal Outstanding | 119,475 | 150,000 | |||||||||||||||||||
| Carrying value | 118,769 | 148,544 | |||||||||||||||||||
| 2033 Notes | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 40,000 | 40,000 | $ 40,000 | ||||||||||||||||||
| Principal Outstanding | 40,000 | 40,000 | |||||||||||||||||||
| Carrying value | 39,043 | 38,935 | |||||||||||||||||||
| MUFG Bank Facility | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 400,000 | 400,000 | |||||||||||||||||||
| Principal Outstanding | 116,000 | 61,000 | |||||||||||||||||||
| Carrying value | 116,000 | 61,000 | |||||||||||||||||||
| SMBC Facility | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | [2],[3] | 475,000 | 400,000 | ||||||||||||||||||
| Principal Outstanding | [2],[3] | 283,790 | 94,000 | ||||||||||||||||||
| Carrying value | [2],[3] | 283,591 | 94,000 | ||||||||||||||||||
| SMBC Facility | SMBC LC Facility | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Maximum borrowing capacity | 175,000 | $ 175,000 | |||||||||||||||||||
| SMBC Facility | Term Loan | |||||||||||||||||||||
| Debt Instrument [Line Items] | |||||||||||||||||||||
| Total Available | 25,000 | ||||||||||||||||||||
| Principal Outstanding | 25,000 | ||||||||||||||||||||
| Carrying value | $ 24,800 | ||||||||||||||||||||
| |||||||||||||||||||||