XML 68 R57.htm IDEA: XBRL DOCUMENT
v3.25.2

SUBSEQUENT EVENTS - Narrative (Details) - USD ($) $ / shares in Units, $ in Thousands | 1 Months Ended | 3 Months Ended
--- | --- | ---
Aug. 12, 2025 | Jul. 31, 2025 | Jun. 30, 2025 | Jun. 30, 2024
Subsequent Event [Line Items] |  |  |  |
Purchase of investments |  |  | $ 62,842 | $ 598
Subsequent Event | Common Stock ATM Program |  |  |  |
Subsequent Event [Line Items] |  |  |  |
Sale of stock, number of shares sold (in shares) | 866,554 |  |  |
Sale of stock, weighted-average gross price per share (in USD per share) | $ 14.14 |  |  |
Gross proceeds | $ 12,100 |  |  |
Subsequent Event | Global GRAB Technologies, Inc., ("Global GRAB") |  |  |  |
Subsequent Event [Line Items] |  |  |  |
Purchase of investments |  | $ 67,600 |  |
Subsequent Event | Global GRAB Technologies, Inc., ("Global GRAB") | Secured First Lien Debt |  |  |  |
Subsequent Event [Line Items] |  |  |  |
Purchase of investments |  | 46,500 |  |
Subsequent Event | Global GRAB Technologies, Inc., ("Global GRAB") | Preferred Equity |  |  |  |
Subsequent Event [Line Items] |  |  |  |
Purchase of investments |  | $ 21,100 |  |

X
- Definition Sale Of Stock, Weighted-Average Gross Price Per Share + References No definition available. + Details
Name: | gain_SaleOfStockWeightedAverageGrossPricePerShare
Namespace Prefix: | gain_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow for acquisition of investment, classified as operating activity. Includes, but is not limited to, funding, origination, drawdown, and participation in investment. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 230 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477867/946-230-45-1 + Details
Name: | us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Cash received on stock transaction after deduction of issuance costs. + References No definition available. + Details
Name: | us-gaap_SaleOfStockConsiderationReceivedOnTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of shares issued or sold by the subsidiary or equity method investee per stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 855 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483399/855-10-50-2 + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=gain_CommonStockATMProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=gain_GlobalGRABTechnologiesInc.GlobalGRABMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=gain_DebtSecuritiesSecuredFirstLienDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=gain_PreferredEquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |