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

COMMITMENTS AND CONTINGENCIES (Tables) | 9 Months Ended
--- | ---
Dec. 31, 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 December 31, 2023 and March 31, 2023, which are not reflected as liabilities in the accompanying Consolidated Statements of Assets and Liabilities:
| December 31, 2023 |  | March 31, 2023
Unused line of credit commitments | $ | 1,500 |  |  | $ | 2,150 |
Total | $ | 1,500 |  |  | $ | 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