XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

COMMITMENTS AND CONTINGENCIES (Tables) | 3 Months Ended
--- | ---
Jun. 30, 2024
Commitments and Contingencies Disclosure [Abstract] |
Schedule 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 June 30, 2024 and March 31, 2024, which are not reflected as liabilities in the accompanying Consolidated Statements of Assets and Liabilities:
| June 30, 2024 |  | March 31, 2024
Unused line of credit commitments | $ | 4,997 |  |  | $ | 2,394 |
Total | $ | 4,997 |  |  | $ | 2,394 |

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