XML 65 R57.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Income Taxes - Additional Information (Details) - USD ($) $ in Millions | 3 Months Ended
--- | ---
Mar. 31, 2024 | Mar. 31, 2023
Income Tax Disclosure [Abstract] |  |
Percentage of investment company taxable income | 90.00% |
Percentage of investment company net tax exempt income | 90.00% |
Federal excise tax | $ 0.6 | $ 0.6

X
- Definition Federal excise tax. + References No definition available. + Details
Name: | trin_FederalExciseTax
Namespace Prefix: | trin_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of investment company net tax exempt income. + References No definition available. + Details
Name: | trin_PercentageOfInvestmentCompanyNetTaxExemptIncome
Namespace Prefix: | trin_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of investment company taxable income. + References No definition available. + Details
Name: | trin_PercentageOfInvestmentCompanyTaxableIncome
Namespace Prefix: | trin_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_IncomeTaxDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration