XML 182 R31.htm IDEA: XBRL DOCUMENT
v3.25.0.1

COMMITMENTS AND CONTINGENCIES (Tables) | 9 Months Ended
--- | ---
Dec. 31, 2024
Commitments and Contingencies Disclosure [Abstract] |
Schedule of Principal Balances of Unused Line of Credit | The following table summarizes the principal balances of unused line of credit as of December 31, 2024 and March 31, 2024, which are not reflected as liabilities in the accompanying Consolidated Statements of Assets and Liabilities:
| December 31, 2024 |  | March 31, 2024
Unused line of credit commitments | $ | 4,817 |  |  | $ | 2,394 |
Total | $ | 4,817 |  |  | $ | 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