XML 74 R61.htm IDEA: XBRL DOCUMENT
v3.23.1

Financial Highlights - Summary of Information about Senior Securities (Parenthetical) (Details) - USD ($) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Fair Value Investments Entities That Calculate Net Asset Value Per Share [Line Items] |  |  |  |
Asset coverage per unit measure per dollar | $ 1,000 | $ 1,000 | $ 1,000 | $ 1,000
2025 Notes |  |  |  |
Fair Value Investments Entities That Calculate Net Asset Value Per Share [Line Items] |  |  |  |
Average daily price of notes | $ 1,000,000 |  |  |

X
- Definition Asset coverage per unit measure per dollar. + References No definition available. + Details
Name: | trin_AssetCoveragePerUnitMeasurePerDollar
Namespace Prefix: | trin_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Average daily price of notes. + References No definition available. + Details
Name: | trin_AverageDailyPriceOfNotes
Namespace Prefix: | trin_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 No definition available. + Details
Name: | us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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