XML 94 R78.htm IDEA: XBRL DOCUMENT
v3.8.0.1

FAIR VALUES (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
Financial Assets [Abstract] |  |  |
Total available for sale securities | $ 293,627,000 | $ 303,402,000 |
Trading assets | 988,000 | 774,000 |
Provision for loan losses | (9,022,000) | (2,437,000) | $ (1,571,000)
Recurring |  |  |
Financial Assets [Abstract] |  |  |
Obligations of U.S. Government and U.S. Government sponsored enterprises | 15,491,000 | 17,455,000 |
Mortgage-backed securities, residential | 219,909,000 | 245,866,000 |
Obligations of states and political subdivisions | 53,132,000 | 38,740,000 |
Corporate bonds and notes | 251,000 | 250,000 |
SBA loan pools | 4,308,000 | 570,000 |
Corporate stocks | 536,000 | 521,000 |
Total available for sale securities | 293,627,000 | 303,402,000 |
Trading assets | 988,000 | 774,000 |
Derivative Asset | 974,000 | 693,000 |
Derivative liabilities | 1,049,000 | 761,000 |
Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) |  |  |
Financial Assets [Abstract] |  |  |
Obligations of U.S. Government and U.S. Government sponsored enterprises | 0 | 0 |
Mortgage-backed securities, residential | 0 | 0 |
Obligations of states and political subdivisions | 0 | 0 |
Corporate bonds and notes | 0 | 0 |
SBA loan pools | 0 | 0 |
Corporate stocks | 204,000 | 170,000 |
Total available for sale securities | 204,000 | 170,000 |
Trading assets | 988,000 | 774,000 |
Derivative Asset | 0 | 0 |
Derivative liabilities | 0 | 0 |
Recurring | Significant Other Observable Inputs (Level 2) |  |  |
Financial Assets [Abstract] |  |  |
Obligations of U.S. Government and U.S. Government sponsored enterprises | 15,491,000 | 17,455,000 |
Mortgage-backed securities, residential | 219,909,000 | 245,866,000 |
Obligations of states and political subdivisions | 53,132,000 | 38,740,000 |
Corporate bonds and notes | 251,000 | 0 |
SBA loan pools | 4,308,000 | 570,000 |
Corporate stocks | 332,000 | 351,000 |
Total available for sale securities | 293,423,000 | 302,982,000 |
Trading assets | 0 | 0 |
Derivative Asset | 974,000 | 693,000 |
Derivative liabilities | 974,000 | 693,000 |
Recurring | Significant Unobservable Inputs (Level 3) |  |  |
Financial Assets [Abstract] |  |  |
Obligations of U.S. Government and U.S. Government sponsored enterprises | 0 | 0 |
Mortgage-backed securities, residential | 0 | 0 |
Obligations of states and political subdivisions | 0 | 0 |
Corporate bonds and notes | 0 | 250,000 |
SBA loan pools | 0 | 0 |
Corporate stocks | 0 | 0 |
Total available for sale securities | 0 | 250,000 |
Trading assets | 0 | 0 |
Derivative Asset | 0 | 0 |
Derivative liabilities | 75,000 | 68,000 |
Non-recurring | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 507,000 | 2,850,000 |
Provision for loan losses | (175,000) | (57) |
Non-recurring | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Other real estate, foreclosed assets, and repossessed assets | 1,940,000 | 344,000 |
Provision for loan losses | (43,000) | (7,000) |
Non-recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 | 0 |
Non-recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Other real estate, foreclosed assets, and repossessed assets | 0 | 0 |
Non-recurring | Significant Other Observable Inputs (Level 2) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 | 0 |
Non-recurring | Significant Other Observable Inputs (Level 2) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Other real estate, foreclosed assets, and repossessed assets | 0 | 0 |
Non-recurring | Significant Unobservable Inputs (Level 3) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 507,000 | 2,850,000 |
Non-recurring | Significant Unobservable Inputs (Level 3) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Other real estate, foreclosed assets, and repossessed assets | 1,940,000 | 344,000 |
Commercial mortgages | Non-recurring | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 1,483,000 |  |
Provision for loan losses | (43,000) |  |
Commercial mortgages | Non-recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 |  |
Commercial mortgages | Non-recurring | Significant Other Observable Inputs (Level 2) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 |  |
Commercial mortgages | Non-recurring | Significant Unobservable Inputs (Level 3) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 1,483,000 |  |
Commercial, and Agricultural |  |  |
Financial Assets [Abstract] |  |  |
Provision for loan losses | (5,374,000) | 117,000 | (461,000)
Commercial, and Agricultural | Commercial and industrial | Non-recurring | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 96,000 |  |
Provision for loan losses | (70,000) |  |
Commercial, and Agricultural | Commercial and industrial | Non-recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 |  |
Commercial, and Agricultural | Commercial and industrial | Non-recurring | Significant Other Observable Inputs (Level 2) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 |  |
Commercial, and Agricultural | Commercial and industrial | Non-recurring | Significant Unobservable Inputs (Level 3) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 96,000 |  |
Commercial mortgages: |  |  |
Financial Assets [Abstract] |  |  |
Provision for loan losses | (1,658,000) | (1,059,000) | (759,000)
Residential Mortgages |  |  |
Financial Assets [Abstract] |  |  |
Provision for loan losses | 12,000 | (124,000) | 61,000
Residential Mortgages | Non-recurring | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Other real estate, foreclosed assets, and repossessed assets | 382,000 | 344,000 |
Provision for loan losses | 0 | (7,000) |
Residential Mortgages | Non-recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Other real estate, foreclosed assets, and repossessed assets | 0 | 0 |
Residential Mortgages | Non-recurring | Significant Other Observable Inputs (Level 2) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Other real estate, foreclosed assets, and repossessed assets | 0 | 0 |
Residential Mortgages | Non-recurring | Significant Unobservable Inputs (Level 3) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Other real estate, foreclosed assets, and repossessed assets | 382,000 | 344,000 |
Consumer Loans |  |  |
Financial Assets [Abstract] |  |  |
Provision for loan losses | (2,002,000) | (1,371,000) | $ (412,000)
Commercial mortgages | Commercial mortgages: | Non-recurring | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 411,000 | 2,631,000 |
Provision for loan losses | (105,000) | 8 |
Commercial mortgages | Commercial mortgages: | Non-recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 | 0 |
Commercial mortgages | Commercial mortgages: | Non-recurring | Significant Other Observable Inputs (Level 2) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 | 0 |
Commercial mortgages | Commercial mortgages: | Non-recurring | Significant Unobservable Inputs (Level 3) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 411,000 | 2,631,000 |
Home equity lines and loans | Consumer Loans | Non-recurring | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net |  | 219,000 |
Provision for loan losses |  | (65) |
Home equity lines and loans | Consumer Loans | Non-recurring | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 75,000 |  |
Provision for loan losses | 0 |  |
Home equity lines and loans | Consumer Loans | Non-recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net |  | 0 |
Home equity lines and loans | Consumer Loans | Non-recurring | Quoted Prices in Active Markets for Identical Assets (Level 1) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 |  |
Home equity lines and loans | Consumer Loans | Non-recurring | Significant Other Observable Inputs (Level 2) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net |  | 0 |
Home equity lines and loans | Consumer Loans | Non-recurring | Significant Other Observable Inputs (Level 2) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | 0 |  |
Home equity lines and loans | Consumer Loans | Non-recurring | Significant Unobservable Inputs (Level 3) | Impaired Loans |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net |  | $ 219,000 |
Home equity lines and loans | Consumer Loans | Non-recurring | Significant Unobservable Inputs (Level 3) | Other Real Estate Owned |  |  |
Financial Assets [Abstract] |  |  |
Total impaired loans/ other real estate owned, net | $ 75,000 |  |

X
- Definition This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents corporate bonds and notes as of the balance sheet date which have been categorized as available-for-sale. + References No definition available. + Details
Name: | chmg_CorporateBondsAndNotesFairValueDisclosure
Namespace Prefix: | chmg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents corporate stocks as of the balance sheet date which have been categorized as available-for-sale. + References No definition available. + Details
Name: | chmg_CorporateStocksFairValueDisclosure
Namespace Prefix: | chmg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents obligations of states and political subdivisions as of the balance sheet date which have been categorized as available-for-sale. + References No definition available. + Details
Name: | chmg_ObligationsOfStatesAndPoliticalSubdivisionsFairValueDisclosure
Namespace Prefix: | chmg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents investments in Obligations of U.S. Government and U.S. Government sponsored enterprises as of the balance sheet date which have been categorized as available-for-sale. + References No definition available. + Details
Name: | chmg_ObligationsOfUSGovernmentAndUSGovernmentSponsoredEnterprisesFairValueDisclosure
Namespace Prefix: | chmg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item represents small business administration pool loans as of the balance sheet date which have been categorized as available-for-sale. + References No definition available. + Details
Name: | chmg_SmallBusinessAdministrationPoolLoansFairValueDisclosure
Namespace Prefix: | chmg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of investment in debt and equity securities categorized neither as held-to-maturity nor trading. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 25 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=75030427&loc=d3e22054-111558 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=82897076&loc=d3e27232-111563 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82896770&loc=d3e26610-111562 + Details
Name: | us-gaap_AvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13495-108611 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=82849420&loc=SL20226008-175313 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=82849420&loc=SL20226008-175313 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13495-108611 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=77997519&loc=d3e13433-108611 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -URI http://asc.fasb.org/subtopic&trid=2196772 + Details
Name: | us-gaap_LoansReceivableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of securitized, pay-through debt securities collateralized by real estate mortgage loans classified as available-for-sale. + References No definition available. + Details
Name: | us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Carrying amount as of the balance sheet date of other real estate and foreclosed assets. Other real estate may include real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. Foreclosed assets include all assets obtained in full or partial satisfaction of a debt arrangement through foreclosure proceedings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.10(4)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 + Details
Name: | us-gaap_OtherRealEstateAndForeclosedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of expense related to estimated loss from loan and lease transactions. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.11) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953423-111524 + Details
Name: | us-gaap_ProvisionForLoanAndLeaseLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of investments in debt and equity securities and other forms of securities that provide ownership interests classified as trading. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=82896770&loc=d3e26626-111562 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.4) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=82896770&loc=d3e26610-111562 + Details
Name: | us-gaap_TradingSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsNonrecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=chmg_ImpairedLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=chmg_OtherRealEstateOwnedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis=chmg_CommercialMortgagesOtherLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=chmg_CommercialAndAgriculturalPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=us-gaap_CommercialAndIndustrialSectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=chmg_CommercialMortgagesOtherLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_HomeEquityLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |