XML 16 R6.htm IDEA: XBRL DOCUMENT
v3.24.0.1

CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parenthetical) - $ / shares | 3 Months Ended | 9 Months Ended
--- | --- | ---
Dec. 31, 2023 | [1] | Sep. 30, 2023 | [1] | Jun. 30, 2023 | [1] | Dec. 31, 2022 | [1] | Sep. 30, 2022 | [1] | Jun. 30, 2022 | [1] | Dec. 31, 2023 | Dec. 31, 2022
Investment Company [Abstract] |  |  |  |  |  |  |  |
Net investment income (loss) (in USD per share) | $ 0.43 | $ 0.20 | $ 0.21 | $ 0.22 | $ 0.14 | $ 0.10 | $ 0.84 | $ 0.46
Gain (loss) on investment (in USD per share) | $ 0.81 | $ 0.16 | $ 0.15 | $ 0.14 | $ 0.08 | $ 0.25 | $ 1.12 | $ 0.47
[1] | Refer to Note 8 — Distributions to Common Stockholders in the accompanying Notes to Consolidated Financial Statements for additional information.

X
- Definition Investment Company, Distribution To Shareholders From Net Investment Income, Per Share + References No definition available. + Details
Name: | gain_InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare
Namespace Prefix: | gain_
Data Type: | dtr-types1:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Investment Company, Distribution To Shareholders From Net Realized Gains, Per Share + References No definition available. + Details
Name: | gain_InvestmentCompanyDistributionToShareholdersFromNetRealizedGainsPerShare
Namespace Prefix: | gain_
Data Type: | dtr-types1:perShareItemType
Balance Type: | na
Period Type: | duration

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