XML 81 R57.htm IDEA: XBRL DOCUMENT
v3.25.4

Debt - Additional Information (Details) - USD ($) |  |  |  |  |  |  |  |  |  |  |  | 8 Months Ended | 12 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Jul. 31, 2025 | 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 | Mar. 01, 2022 | Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022 | Jul. 21, 2025 | Jun. 15, 2023 | Dec. 31, 2021
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, weighted average interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 5.30% | 5.40% | 4.40% | 3.50% |  |  | 3.60%
Combined weighted-average interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 4.90% | 5.19% |  |  |  |  |
Long-Term Line of Credit | [1] |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,040,842,703 | $ 1,126,314,826 | $ 988,555,830 | $ 949,062,241 |  |  | $ 1,019,339,449
Earnings (loss) per share, Diluted |  |  |  |  |  |  |  |  |  |  |  |  |  | $ (1.05) | $ (0.79) | $ 0.67 |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 285,479 | $ 371,015 | $ 214,762 |  |  |  |
Repayments of Unsecured Debt |  |  |  |  |  |  |  |  |  |  |  |  |  | 92,000,000 | 250,000,000 | 0 |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,523,629,517 | 1,645,644,038 |  |  |  |  |
SBA Debentures |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Line of Credit |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 111,200,000 | $ 131,500,000 |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.41% | 2.45% |  |  |  |  |
Debt issuance costs |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 111,200,000 |  |  |  |  |  |
Debt issuance regulatory capital |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 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 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Three Month Contracts [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, starting maturity date |  |  | May 06, 2026 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, ending maturity date |  |  | Aug. 01, 2029 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, weighted average interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.36% | 0.36% |  |  |  |  |
Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, weighted average interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.35% | 0.35% |  |  |  |  |
2024 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, maturity date |  |  |  |  |  |  |  |  |  |  |  |  |  | Aug. 23, 2024 |  |  |  |  |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 250,000,000 |  |  |  |  |  |
2024 Notes | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Convertible senior unsecured notes |  |  |  |  |  |  |  |  |  |  |  | $ 150,000,000 |  |  |  |  |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 403,991 | 598,483 |  |  |  |
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 |  |  |  |  |  |  |  |  |
2025 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fair Value Disclosure |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 92,700,000 |  |  |  |  |
Long-Term Line of Credit |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 92,000,000 |  |  |  |  |
Debt instrument, maturity date |  |  |  |  |  |  |  |  |  |  |  |  |  | Jul. 31, 2025 |  |  |  |  |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 92,000,000 | 92,000,000 |  |  |  |  |
2025 Notes | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, maturity date |  |  |  |  | Dec. 09, 2025 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  |  | 0 | 0 |  |  |  |  |
2025 Notes | Tranche A | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  | 5.82% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, frequency of periodic payment |  |  |  |  | semi-annually |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fixed interest rate |  |  |  |  | 6.85% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2025 Notes | BlackRock Capital Investment Corporation | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, repayment price, percentage |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2025 Notes | BlackRock Capital Investment Corporation | Tranche A | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 35,000,000 |  |
Repayments of Unsecured Debt |  | $ 35,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2025 Notes | BlackRock Capital Investment Corporation | Tranche B | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 57,000,000 |  |
Repayments of Unsecured Debt |  | $ 57,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2026 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fair Value Disclosure |  |  |  |  |  |  |  |  |  |  |  |  |  | 323,800,000 | 315,900,000 |  |  |  |  |
Long-Term Line of Credit |  |  |  |  |  |  |  |  |  |  |  |  |  | 325,033,026 | 325,398,402 |  |  |  |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  |  |  |  | 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 |  |  |  |  |  |  |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  |  | (365,376) | (392,611) | (383,721) |  |  |  |
Debt instrument additional unsecured debt amount |  |  |  |  |  |  |  | $ 150,000,000 |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, frequency of periodic payment |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | semi-annually |  |  |
Debt instrument, par amount |  |  |  |  |  |  |  | $ 325,000,000 |  |  |  |  |  |  |  |  |  |  |  |
2029 Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fair Value Disclosure |  |  |  |  |  |  |  |  |  |  |  |  |  | 326,100,000 | 338,800,000 |  |  |  |  |
Long-Term Line of Credit |  |  |  |  |  |  |  |  |  |  |  |  |  | 322,396,491 | 321,745,636 |  |  |  |  |
Debt instrument, par amount |  |  |  |  |  |  |  |  |  |  |  |  |  | 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 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amortization of original issue discount on debt |  |  |  |  |  |  |  |  |  |  |  |  |  | 650,856 |  | $ 359,636 |  |  |  |
2029 Notes | Tranche A | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, frequency of periodic payment |  |  |  | semi-annually |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Series 2022A Senior Notes | BlackRock Capital Investment Corporation | Tranche A | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
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 | BlackRock Capital Investment Corporation | Tranche B | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument, par amount |  |  |  |  | $ 57,000,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  |  | 300,000,000 |  |  |  |  |  |
Line of credit facility, increase |  |  |  |  |  |  |  |  |  |  |  |  |  | 100,000,000 |  |  |  |  |  |
Line of credit facility, current borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  |  | 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% |  |  |  |  |  |  |  |  |  |  |
Operating Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument Interest Rate During Undrawn Portion |  |  |  |  |  |  |  |  | 0.375% |  |  |  |  |  |  |  |  |  |  |
Operating Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument Interest Rate During Undrawn Portion |  |  |  |  |  |  |  |  | 0.50% |  |  |  |  |  |  |  |  |  |  |
Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Fair Value Disclosure |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 32,900,000 | $ 55,500,000 |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 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 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Funding Facility II |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, weighted average interest rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.35% |  |  |  |  |  |
Line of credit facility, agency fees percentage |  |  |  |  |  |  | 0.15% |  |  |  |  |  |  | 0.15% |  |  |  |  |  |
Rate |  | 2.00% |  |  |  | 2.05% | 2.00% |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 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% |  |  |  |  |  |  |  |  |  |  |  |  |
Annual Rate | 2024 Notes | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage |  |  |  |  |  |  |  |  |  |  |  | 3.90% |  |  |  |  |  |  |  |
Annual Rate | 2026 Notes | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage |  |  |  |  |  |  |  |  |  | 2.85% |  |  |  |  |  |  |  |  |  |
Annual Rate | 2029 Notes | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage |  |  |  | 6.95% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
LIBOR Member | Operating Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  | 2.00% |  |  |  |  |  |  |  |  |  |  |
LIBOR Member | Operating Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  | 1.75% |  |  |  |  |  |  |  |  |  |  |
LIBOR Member | Funding Facility II |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00% |  |  |  |  |  |
SOFR |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 0.10% | 0.10% |  |  |  |  |
SOFR | One Month Contracts Member |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage |  |  | 0.10% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SOFR | Three Month Contracts [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt instrument bore interest at an annual rate percentage |  |  | 0.15% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SOFR | 2025 Notes | Tranche B | Unsecured Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  | 3.14% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
SOFR | Operating Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Line of Credit |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 146,213,186 | $ 120,670,788 |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00% | 2.00% |  |  |  | 0.11% |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 300,000,000 | $ 300,000,000 |  |  |  |  |
SOFR | Operating Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00% |
SOFR | Operating Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.75% |
SOFR | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Line of Credit |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 36,000,000 | $ 60,000,000 |  |  |  |  |
Rate |  |  |  |  | 1.00% |  |  |  |  |  |  |  |  | 2.00% | 2.00% |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 265,000,000 | $ 265,000,000 |  |  |  |  |
SOFR | Merger Sub Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 2.00% | 2.00% |  |  |  |  |
SOFR | Merger Sub Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.75% | 1.75% |  |  |  |  |
SOFR | Funding Facility II |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Long-Term Line of Credit |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 100,000,000 | $ 75,000,000 |  |  |  |  |
Rate |  |  |  |  |  | 0.15% | 0.15% |  |  |  |  |  |  | 2.00% | 2.05% |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 200,000,000 | $ 200,000,000 |  |  |  |  |
ABR Borrowings | Operating Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  | 1.00% |  |  |  |  |  |  |  |  |  |  |
ABR Borrowings | Operating Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  |  |  |  |  | 0.75% |  |  |  |  |  |  |  |  |  |  |
ABR Borrowings | Merger Sub Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  | 1.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
ABR Borrowings | Merger Sub Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  | 0.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Eurocurrency Loans | Merger Sub Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  | 2.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Eurocurrency Loans | Merger Sub Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  | 1.75% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Federal Funds Effective Rate | Merger Sub Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Rate |  |  |  |  | 0.50% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
[1] | Excludes unamortized debt issuance costs which are netted in the Consolidated Statements of Assets and Liabilities.

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 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/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 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 28 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-28 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-11 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482907/825-10-50-11 Reference 7: 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 Reference 8: 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 9: 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 10: 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 11: 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 12: 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 + 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/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-8A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -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 6: 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 7: 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 8: 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 9: 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 10: 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 11: 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 12: 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 13: 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 14: 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 15: 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 16: 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 17: 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 18: 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 19: 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 20: 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 21: 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 22: 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 23: 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 24: 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 25: 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 26: 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 27: 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 28: 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 29: 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 30: 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 31: 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 Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 470 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477734/942-470-50-3 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
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 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 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 250 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483443/250-10-50-1 Reference 4: 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 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 105 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 9 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479343/105-10-65-9 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 65 -Paragraph 17 -Subparagraph (d)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480336/718-10-65-17 Reference 7: 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 8: 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 9: 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 10: 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 11: 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 12: 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 13: 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 14: 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 15: 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 16: 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 17: 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 18: 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 19: 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 20: 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 21: 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 22: 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 23: 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 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 65 -Paragraph 4 -Subparagraph (f)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481538/470-20-65-4 + Details
Name: | us-gaap_EarningsPerShareDiluted
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + 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 -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 3: 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 + Details
Name: | us-gaap_LineOfCredit
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 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 S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 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 + 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 The cash outflow to repay long-term debt that is not secured by collateral. Excludes repayments of tax exempt unsecured debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-15 + Details
Name: | us-gaap_RepaymentsOfUnsecuredDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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_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: | srt_RangeAxis=srt_MaximumMember
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_DebtInstrumentAxis=tcpc_TwoThousandTwentyFourNotesMember
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_BusinessAcquisitionAxis=tcpc_BlackrockCapitalInvestmentCorporationMember
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_CreditFacilityAxis=tcpc_OperatingFacilityMember
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_CreditFacilityAxis=tcpc_FundingFacilityIIMember
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_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=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: | us-gaap_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |