Consolidated Statements of Assets and Liabilities (Parenthetical) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Dec. 31, 2025 |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Schedule of Investments [Line Items] | ||||||||||||||||||
| Restricted cash | $ 8,600 | $ 3,820 | ||||||||||||||||
| Investments at amortized cost | 3,676,639 | [1],[2],[3] | 3,839,039 | [4],[5],[6] | ||||||||||||||
| Investments in unaffiliated money market fund, cost | 14,357 | 12,976 | ||||||||||||||||
| Unamortized debt issuance costs | $ 9,288 | $ 10,545 | ||||||||||||||||
| Preferred stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | ||||||||||||||||
| Preferred stock, shares authorized (in shares) | 1,000,000 | 1,000,000 | ||||||||||||||||
| Preferred stock, shares issued (in shares) | 0 | 0 | ||||||||||||||||
| Preferred stock, shares outstanding (in shares) | 0 | 0 | ||||||||||||||||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | ||||||||||||||||
| Common stock, shares authorized (in shares) | 500,000,000 | 500,000,000 | ||||||||||||||||
| Common stock, shares issued (in shares) | 84,504,322 | 86,276,305 | ||||||||||||||||
| Common stock, shares outstanding (in shares) | 84,504,322 | [7] | 86,276,305 | |||||||||||||||
| Money Market Funds [Member] | ||||||||||||||||||
| Schedule of Investments [Line Items] | ||||||||||||||||||
| Investments in unaffiliated money market fund, cost | $ 14,357 | $ 12,976 | ||||||||||||||||
| Non-Controlled/Non-Affiliated Investments | ||||||||||||||||||
| Schedule of Investments [Line Items] | ||||||||||||||||||
| Investments at amortized cost | 3,537,851 | 3,833,800 | ||||||||||||||||
| Non-Controlled/Affiliated Investments | ||||||||||||||||||
| Schedule of Investments [Line Items] | ||||||||||||||||||
| Investments at amortized cost | 34,256 | 5,239 | ||||||||||||||||
| Controlled/affiliated investments | ||||||||||||||||||
| Schedule of Investments [Line Items] | ||||||||||||||||||
| Investments at amortized cost | $ 104,532 | $ 0 | ||||||||||||||||
| ||||||||||||||||||
| X | ||||||||||
- Definition Face amount or stated value per share of common stock. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Cost of the investment. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of short-term investments classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Number of shares issued for nonredeemable preferred shares and preferred shares redeemable solely at option of issuer. Includes, but is not limited to, preferred shares issued, repurchased, and held as treasury shares. Excludes preferred shares classified as debt. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of cash and cash equivalent restricted as to withdrawal or usage. Cash includes, but is not limited to, currency on hand, demand deposit with financial institution, and account with general characteristic of demand deposit. Cash equivalent includes, but is not limited to, short-term, highly liquid investment that is both readily convertible to known amount of cash and so near maturity that it presents insignificant risk of change in value because of change in interest rate. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|