XML 49 R37.htm IDEA: XBRL DOCUMENT
v3.22.4

Securities, Components of Securities (Details) $ in Thousands | 6 Months Ended |
--- | --- | ---
Dec. 31, 2022 USD ($) Category | Jun. 30, 2022 USD ($)
Available-for-sale debt securities [Abstract] |  |
Amortized cost | $ 365,016 | $ 431,625
Gross unrealized gains | 546 | 374
Gross unrealized losses | 30,444 | 23,937
Estimated fair value | 335,118 | 408,062
Held-to-maturity securities [Abstract] |  |
Amortized cost | 742,470 | 761,852
Gross unrealized gains | 3,481 | 2,779
Gross unrealized losses | 63,741 | 54,178
Estimated fair value | 682,210 | 710,453
Total Securities [Abstract] |  |
Amortized cost | 1,107,486 | 1,193,477
Gross unrealized gains | 4,027 | 3,153
Gross unrealized losses | 94,185 | 78,115
Estimated fair value | $ 1,017,328 | 1,118,515
Number of categories utilized under risk management approach of diversified investing | Category | 3 |
U.S. Government Sponsored Enterprises [Member] |  |
Available-for-sale debt securities [Abstract] |  |
Amortized cost | $ 13,061 | 13,066
Gross unrealized gains | 0 | 0
Gross unrealized losses | 2,332 | 1,747
Estimated fair value | 10,729 | 11,319
U.S. Treasury Securities [Member] |  |
Available-for-sale debt securities [Abstract] |  |
Amortized cost | 18,176 | 20,158
Gross unrealized gains | 0 | 0
Gross unrealized losses | 2,070 | 1,731
Estimated fair value | 16,106 | 18,427
Held-to-maturity securities [Abstract] |  |
Amortized cost | 33,664 | 33,623
Gross unrealized gains | 0 | 0
Gross unrealized losses | 2,566 | 1,643
Estimated fair value | 31,098 | 31,980
State and Political Subdivisions [Member] |  |
Available-for-sale debt securities [Abstract] |  |
Amortized cost | 193,612 | 247,978
Gross unrealized gains | 546 | 374
Gross unrealized losses | 261 | 276
Estimated fair value | 193,897 | 248,076
Held-to-maturity securities [Abstract] |  |
Amortized cost | 487,495 | 493,897
Gross unrealized gains | 3,479 | 2,760
Gross unrealized losses | 35,181 | 35,747
Estimated fair value | 455,793 | 460,910
Mortgage-backed Securities-Residential [Member] |  |
Available-for-sale debt securities [Abstract] |  |
Amortized cost | 31,025 | 33,186
Gross unrealized gains | 0 | 0
Gross unrealized losses | 4,329 | 3,289
Estimated fair value | 26,696 | 29,897
Held-to-maturity securities [Abstract] |  |
Amortized cost | 39,530 | 42,461
Gross unrealized gains | 0 | 1
Gross unrealized losses | 3,721 | 2,242
Estimated fair value | 35,809 | 40,220
Mortgage-backed Securities-Multi-family [Member] |  |
Available-for-sale debt securities [Abstract] |  |
Amortized cost | 91,243 | 99,353
Gross unrealized gains | 0 | 0
Gross unrealized losses | 19,612 | 15,644
Estimated fair value | 71,631 | 83,709
Held-to-maturity securities [Abstract] |  |
Amortized cost | 160,100 | 171,921
Gross unrealized gains | 0 | 2
Gross unrealized losses | 20,795 | 13,895
Estimated fair value | 139,305 | 158,028
Corporate Debt Securities [Member] |  |
Available-for-sale debt securities [Abstract] |  |
Amortized cost | 17,899 | 17,884
Gross unrealized gains | 0 | 0
Gross unrealized losses | 1,840 | 1,250
Estimated fair value | 16,059 | 16,634
Held-to-maturity securities [Abstract] |  |
Amortized cost | 21,641 | 19,900
Gross unrealized gains | 2 | 16
Gross unrealized losses | 1,478 | 651
Estimated fair value | 20,165 | 19,265
Other Securities [Member] |  |
Held-to-maturity securities [Abstract] |  |
Amortized cost | 40 | 50
Gross unrealized gains | 0 | 0
Gross unrealized losses | 0 | 0
Estimated fair value | $ 40 | $ 50

X
- Definition Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost. + References No definition available. + Details
Name: | gcbc_DebtSecuritiesAvailableForSaleAndHeldToMaturityAccumulatedUnrecognizedGain
Namespace Prefix: | gcbc_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost. + References No definition available. + Details
Name: | gcbc_DebtSecuritiesAvailableForSaleAndHeldToMaturityAccumulatedUnrecognizedLoss
Namespace Prefix: | gcbc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security available for sale and held to maturity measured at amortized cost. + References No definition available. + Details
Name: | gcbc_DebtSecuritiesAvailableForSaleAndHeldToMaturityAmortizedCost
Namespace Prefix: | gcbc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Represents the number of categories utilized under risk management approach of diversified investing. + References No definition available. + Details
Name: | gcbc_NumberOfCategoriesUtilizedUnderRiskManagementApproachOfDiversifiedInvesting
Namespace Prefix: | gcbc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAmortizedCostAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (aa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27232-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=SL120269820-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USStatesAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ResidentialMortgageBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=gcbc_MortgageBackedSecuritiesMultiFamilyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_OtherDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |