XML 18 R6.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS (Parentheticals) - $ / shares | 3 Months Ended | 9 Months Ended
--- | --- | ---
Jun. 30, 2024 | Mar. 31, 2024 | Dec. 31, 2023 | Jun. 30, 2023 | Mar. 31, 2023 | Dec. 31, 2022 | Jun. 30, 2024 | Jun. 30, 2023
Investment Company [Abstract] |  |  |  |  |  |  |  |
Net investment income (in USD per share) | $ 0.50 | $ 0.50 | $ 0.49 | $ 0.48 | $ 0.45 | $ 0.42 | $ 1.49 | $ 1.35

X
- Definition Investment Company, Distribution To Shareholders From Net Investment Income, Per Share + References No definition available. + Details
Name: | glad_InvestmentCompanyDistributionToShareholdersFromNetInvestmentIncomePerShare
Namespace Prefix: | glad_
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