XML 41 R31.htm IDEA: XBRL DOCUMENT
v3.23.3

COMMITMENTS AND CONTINGENCIES (Tables) | 6 Months Ended
--- | ---
Sep. 30, 2023
Commitments and Contingencies Disclosure [Abstract] |
Summary of Principal Balances of Unused Line of Credit and Delayed Draw Term Debt Commitments and Guaranties | The following table summarizes the principal balances of unused line of credit as of September 30, 2023 and March 31, 2023, which are not reflected as liabilities in the accompanying Consolidated Statements of Assets and Liabilities:
| September 30, 2023 |  | March 31, 2023
Unused line of credit commitments | $ | 5,000 |  |  | $ | 2,150 |
Total | $ | 5,000 |  |  | $ | 2,150 |

X
- Definition Schedule of Principal Balances of Unused Line of Credit And Delayed Draw Term Debt Commitments And Guaranties + References No definition available. + Details
Name: | gain_ScheduleOfPrincipalBalancesOfUnusedLineOfCreditAndDelayedDrawTermDebtCommitmentsAndGuarantiesTableTextBlock
Namespace Prefix: | gain_
Data Type: | dtr-types1:textBlockItemType
Balance Type: | na
Period Type: | duration

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