XML 58 R52.htm IDEA: XBRL DOCUMENT
v3.25.2

Debt - Additional Information (Details) - USD ($) |  |  |  |  |  |  |  |  |  |  | 3 Months Ended | 6 Months Ended | 8 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Aug. 01, 2024 | May 30, 2024 | Mar. 18, 2024 | Aug. 04, 2023 | Feb. 28, 2023 | Aug. 27, 2021 | Jun. 22, 2021 | Feb. 09, 2021 | Oct. 02, 2020 | Aug. 23, 2019 | Jun. 30, 2025 | Jun. 30, 2024 | Jun. 30, 2025 | Jun. 30, 2024 | Mar. 01, 2022 | Dec. 31, 2022 | Dec. 31, 2024 | Dec. 31, 2023 | Jun. 15, 2023
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, weighted average interest rate |  |  |  |  |  |  |  |  |  |  | 5.40% | 5.00% | 5.40% | 5.00% |  |  |  |  |
Combined weighted-average interest rate |  |  |  |  |  |  |  |  |  |  | 5.26% |  | 5.26% |  |  |  | 5.19% |  |
Carrying value of debt |  |  |  |  |  |  |  |  |  |  | $ 1,174,640,591 |  | $ 1,174,640,591 |  |  |  | $ 1,118,340,225 |  |
Earnings (loss) per share, Diluted |  |  |  |  |  |  |  |  |  |  | $ (0.19) | $ (0.6) | $ 0.06 | $ (0.63) |  |  |  |  |
Interest expense |  |  |  |  |  |  |  |  |  |  |  |  | $ 30,651,094 | $ 30,421,062 |  |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  | 119,956 | 168,593 |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 1,636,263,994 |  | 1,636,263,994 |  |  |  | 1,645,644,038 |  |
Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | 300,000,000 |  | 300,000,000 |  |  |  |  |  |
Line of credit facility, increase |  |  |  |  |  |  |  |  |  |  |  |  | 100,000,000 |  |  |  |  |  |
Line of credit facility, current borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 400,000,000 |  | $ 400,000,000 |  |  |  |  |  |
Debt instrument, starting maturity date |  |  |  |  |  |  | May 06, 2024 |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, ending maturity date |  |  |  |  |  |  | May 06, 2026 |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, commitment fees percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.50% |  |  |  |
Debt instrument, accrue interest rate |  |  |  |  |  |  | 2.00% |  |  |  |  |  |  |  |  |  |  |  |
Funding Facility II |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, weighted average interest rate |  |  |  |  |  |  |  |  |  |  | 0.35% |  | 0.35% |  |  |  |  |  |
Rate |  |  |  | 2.05% | 2.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  | 2.05% | 2.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 200,000,000 |  | $ 200,000,000 |  |  |  |  |  |
Line of credit facility, current borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 250,000,000 |
Debt instrument, starting maturity date |  |  |  | Aug. 04, 2025 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, ending maturity date |  |  |  | Aug. 04, 2027 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, commitment fees percentage |  |  |  |  | 0.35% |  |  |  |  |  |  |  | 0.35% |  |  |  |  |  |
Debt instrument, accrue interest rate |  |  |  |  | 0.35% |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, agency fees percentage |  |  |  |  | 0.15% |  |  |  |  |  |  |  | 0.15% |  |  |  |  |  |
Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fair Value Disclosure |  |  |  |  |  |  |  |  |  |  | $ 16,600,000 |  | $ 16,600,000 |  |  |  | $ 55,500,000 |  |
Rate |  |  |  |  |  |  |  |  |  |  | 0.10% |  | 0.10% |  |  |  | 0.10% |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 0.10% |  | 0.10% |  |  |  | 0.10% |  |
Line of credit facility, maximum borrowing capacity |  |  | $ 265,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Credit facility, increase in borrowing capacity subject to satisfaction of certain conditions |  |  | $ 325,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
LIBOR Member | Funding Facility II |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  | 2.00% |  | 2.00% |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 2.00% |  | 2.00% |  |  |  |  |  |
SOFR |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  | 0.10% |  | 0.10% |  |  |  | 0.10% |  |
Carrying value of debt |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 113,000,000 |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 0.10% |  | 0.10% |  |  |  | 0.10% |  |
SOFR | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  | 2.00% |  | 2.00% |  |  |  | 2.00% |  | 0.11%
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 2.00% |  | 2.00% |  |  |  | 2.00% |  | 0.11%
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 300,000,000 |  | $ 300,000,000 |  |  |  | $ 300,000,000 |  |
SOFR | Funding Facility II |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  | 0.15% | 0.15% |  |  |  |  |  | 2.05% |  | 2.05% |  |  |  | 2.05% |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  | 0.15% | 0.15% |  |  |  |  |  | 2.05% |  | 2.05% |  |  |  | 2.05% |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 200,000,000 |  | $ 200,000,000 |  |  |  | $ 200,000,000 |  |
SOFR | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  | 1.00% |  |  |  |  |  |  |  | 2.00% |  | 2.00% |  |  |  | 2.00% |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 1.00% |  |  |  |  |  |  |  | 2.00% |  | 2.00% |  |  |  | 2.00% |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  | $ 265,000,000 |  | $ 265,000,000 |  |  |  | $ 265,000,000 |  |
Federal Funds Effective Rate | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  | 0.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 0.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, weighted average interest rate |  |  |  |  |  |  |  |  |  |  | 0.36% |  | 0.36% |  |  |  | 0.36% |  |
Maximum | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument Interest Rate During Undrawn Portion |  |  |  |  |  |  | 0.375% |  |  |  |  |  |  |  |  |  |  |  |
Maximum | LIBOR Member | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  | 2.00% |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  | 2.00% |  |  |  |  |  |  |  |  |  |  |  |
Maximum | SOFR | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00%
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00%
Maximum | SOFR | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  | 2.00% |  | 2.00% |  |  |  | 2.00% |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 2.00% |  | 2.00% |  |  |  | 2.00% |  |
Maximum | ABR Borrowings | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  | 1.00% |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  | 1.00% |  |  |  |  |  |  |  |  |  |  |  |
Maximum | ABR Borrowings | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  | 1.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 1.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum | Eurocurrency Loans | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  | 2.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 2.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, weighted average interest rate |  |  |  |  |  |  |  |  |  |  | 0.35% |  | 0.35% |  |  |  | 0.35% |  |
Minimum | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument Interest Rate During Undrawn Portion |  |  |  |  |  |  | 0.50% |  |  |  |  |  |  |  |  |  |  |  |
Minimum | LIBOR Member | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  | 1.75% |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  | 1.75% |  |  |  |  |  |  |  |  |  |  |  |
Minimum | SOFR | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.75%
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.75%
Minimum | SOFR | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  | 1.75% |  | 1.75% |  |  |  | 1.75% |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 1.75% |  | 1.75% |  |  |  | 1.75% |  |
Minimum | ABR Borrowings | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  | 0.75% |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  | 0.75% |  |  |  |  |  |  |  |  |  |  |  |
Minimum | ABR Borrowings | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  | 0.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 0.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Minimum | Eurocurrency Loans | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  | 1.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 1.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SBA Debentures |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  | 2.45% |  | 2.45% |  |  |  | 2.45% |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  |  |  |  |  |  |  |  |  | 2.45% |  | 2.45% |  |  |  | 2.45% |  |
Debt issuance costs |  |  |  |  |  |  |  |  |  |  | $ 132,000,000 |  | $ 132,000,000 |  |  |  |  |  |
Debt issuance regulatory capital |  |  |  |  |  |  |  |  |  |  | 87,500,000 |  | $ 87,500,000 |  |  |  |  |  |
Debt instrument, term |  |  |  |  |  |  |  |  |  |  |  |  | 10 years |  |  |  |  |  |
Prepayment on or Before June 9, 2024 | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument prepayment premium percentage |  |  | 1.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment After June 9, 2024 but on or Before June 9, 2025 | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument prepayment premium percentage |  |  | 0.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayment After June 9, 2025 | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument prepayment premium percentage |  |  | 0.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
One Month Contracts Member |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, starting maturity date | May 06, 2025 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, ending maturity date | Aug. 01, 2028 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
One Month Contracts Member | SOFR |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage | 0.10% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Three Month Contracts [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, starting maturity date | May 06, 2026 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, ending maturity date | Aug. 01, 2029 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Three Month Contracts [Member] | SOFR |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage | 0.15% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2024 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, maturity date |  |  |  |  |  |  |  |  |  |  |  |  | Aug. 23, 2024 |  |  |  |  |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  | 250,000,000 |  | $ 250,000,000 |  |  |  |  |  |
2024 Notes | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible senior unsecured notes |  |  |  |  |  |  |  |  |  | $ 150,000,000 |  |  |  |  |  |  |  |  |
Interest expense |  |  |  |  |  |  |  |  |  |  |  |  |  | 5,187,662 |  |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  |  | 312,662 |  |  |  |  |
Debt instrument additional unsecured debt amount |  |  |  |  |  |  |  |  | $ 50,000,000 | $ 50,000,000 |  |  |  |  |  |  |  |  |
Debt instrument, frequency of periodic payment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | semi-annually |  |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  | $ 250,000,000 |  |  |  |  |  |  |  |  |  |
2024 Notes | Unsecured Notes | Annual Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage |  |  |  |  |  |  |  |  |  | 3.90% |  |  |  |  |  |  |  |  |
2025 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fair Value Disclosure |  |  |  |  |  |  |  |  |  |  | 92,200,000 |  | 92,200,000 |  |  |  | $ 92,700,000 |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  | 92,000,000 |  | 92,000,000 |  |  |  | 92,000,000 |  |
2025 Notes | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, maturity date |  |  | Dec. 09, 2025 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest expense |  |  |  |  |  |  |  |  |  |  |  |  | 3,346,539 | 2,128,377 |  |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  | 0 | 0 |  |  |  |  |
2025 Notes | Unsecured Notes | Tranche A |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  | 5.82% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fixed interest rate |  |  | 6.85% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, frequency of periodic payment |  |  | semi-annually |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 5.82% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2025 Notes | Unsecured Notes | SOFR | Tranche B |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  | 3.14% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Interest Rate, Stated Percentage |  |  | 3.14% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2026 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fair Value Disclosure |  |  |  |  |  |  |  |  |  |  | 319,500,000 |  | 319,500,000 |  |  |  | 315,900,000 |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  | 325,000,000 |  | 325,000,000 |  |  |  | 325,000,000 |  |
2026 Notes | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible senior unsecured notes |  |  |  |  |  |  |  | $ 175,000,000 |  |  |  |  |  |  |  |  |  |  |
Debt instrument, maturity date |  |  |  |  |  |  |  | Feb. 09, 2026 |  |  |  |  |  |  |  |  |  |  |
Interest expense |  |  |  |  |  |  |  |  |  |  |  |  | 4,431,547 | 4,436,068 |  |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  | (199,703) | (195,182) |  |  |  |  |
Debt instrument additional unsecured debt amount |  |  |  |  |  | $ 150,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, frequency of periodic payment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | semi-annually |  |  |
Debt instrument, par amount |  |  |  |  |  | $ 325,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |
2026 Notes | Unsecured Notes | Annual Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage |  |  |  |  |  |  |  | 2.85% |  |  |  |  |  |  |  |  |  |  |
2029 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fair Value Disclosure |  |  |  |  |  |  |  |  |  |  | 335,900,000 |  | 335,900,000 |  |  |  | 338,800,000 |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  | $ 325,000,000 |  | 325,000,000 |  |  |  | $ 325,000,000 |  |
2029 Notes | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible senior unsecured notes |  | $ 325,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, maturity date |  | May 30, 2029 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Interest expense |  |  |  |  |  |  |  |  |  |  |  |  | 11,613,409 | 1,933,405 |  |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  | $ 319,659 | $ 51,113 |  |  |  |  |
2029 Notes | Unsecured Notes | Tranche A |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, frequency of periodic payment |  | semi-annually |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2029 Notes | Unsecured Notes | Annual Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage |  | 6.95% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Series 2022A Senior Notes | Unsecured Notes | BlackRock Capital Investment Corporation | Tranche A |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, par amount |  |  | $ 35,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage |  |  | 6.85% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Series 2022A Senior Notes | Unsecured Notes | BlackRock Capital Investment Corporation | Tranche B |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, par amount |  |  | $ 57,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition Combined weighted-average interest rates. + References No definition available. + Details
Name: | tcpc_CombinedWeightedAverageInterestRate
Namespace Prefix: | tcpc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt instrument additional unsecured debt amount. + References No definition available. + Details
Name: | tcpc_DebtInstrumentAdditionalUnsecuredDebtAmount
Namespace Prefix: | tcpc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt instrument prepayment premium percentage. + References No definition available. + Details
Name: | tcpc_DebtInstrumentPrepaymentPremiumPercentage
Namespace Prefix: | tcpc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Issuance Regulatory Capital. + References No definition available. + Details
Name: | tcpc_DebtIssuanceRegulatoryCapital
Namespace Prefix: | tcpc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line of credit facility agency fees percentage. + References No definition available. + Details
Name: | tcpc_LineOfCreditFacilityAgencyFeesPercentage
Namespace Prefix: | tcpc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-3 + Details
Name: | us-gaap_AmortizationOfDebtDiscountPremium
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2E -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2E Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-10 + Details
Name: | us-gaap_DebtInstrumentFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of the frequency of periodic payments (monthly, quarterly, annual). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477734/942-470-50-3 + Details
Name: | us-gaap_DebtInstrumentFrequencyOfPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69E Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69F Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1E -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1E Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1I -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1I Reference 26: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 27: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1B + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Latest date the outstanding debt instruments are required to be repaid, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentMaturityDateRangeEnd1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Earliest date the outstanding debt instruments are required to be repaid, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentMaturityDateRangeStart1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt issuance costs related to line of credit arrangements. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section S45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479359/835-30-S45-1 + Details
Name: | us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fixed interest rate related to the interest rate derivative. + References No definition available. + Details
Name: | us-gaap_DerivativeFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-6 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 52 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482635/260-10-55-52 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 60 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476176/805-60-65-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 323 -Name Accounting Standards Codification -Section 65 -Paragraph 2 -Subparagraph (g)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478666/740-323-65-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-3 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482635/260-10-55-15 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (e)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480175/815-40-65-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 65 -Paragraph 1 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480175/815-40-65-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-11 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-11 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-7 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482689/260-10-45-2 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 60B -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482689/260-10-45-60B Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-4 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482662/260-10-50-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(25)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(27)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(23)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 260 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482689/260-10-45-7 + Details
Name: | us-gaap_EarningsPerShareDiluted
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the cost of borrowed funds accounted for as interest expense for debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69E -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69E Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69F -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69F Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1F -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1F Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-6 + Details
Name: | us-gaap_InterestExpenseDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) of the credit facility. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The effective interest rate during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum amount borrowed under the credit facility at any time during the period. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482949/835-30-55-8 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69B -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69B Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 69C -Publisher FASB -URI https://asc.fasb.org/1943274/2147481568/470-20-55-69C Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1D -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-1D Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying value as of the balance sheet date of the portion of long-term, uncollateralized debt obligations due within one year or the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_UnsecuredDebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_CreditFacilityAxis=tcpc_OperatingFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=tcpc_FundingFacilityIIMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=tcpc_MergerSubFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=tcpc_LondonInterbankOfferedRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=tcpc_ABRBorrowingsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=tcpc_EurocurrencyLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=tcpc_SBADebenturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_UnsecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=us-gaap_DebtInstrumentRedemptionPeriodThreeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=tcpc_OneMonthContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentRedemptionPeriodAxis=tcpc_ThreeMonthContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=tcpc_TwoThousandTwentyFourNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=tcpc_AnnualPercentageRateAPRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=tcpc_TwoThousandTwentyFiveNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=us-gaap_ShareBasedCompensationAwardTrancheTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=tcpc_TwoThousandTwentySixNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=tcpc_TwoThousandTwentyNineNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=tcpc_SeriesTwoThousandTwentyTwoASeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=tcpc_BlackrockCapitalInvestmentCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |