XML 26 R73.htm IDEA: XBRL DOCUMENT
v2.4.1.9

FAIR VALUES (Details) (USD $) In Thousands, unless otherwise specified | Dec. 31, 2014 | Dec. 31, 2013
--- | --- | ---
Financial Assets [Abstract] |  |
Total available for sale securities | $ 280,507 us-gaap_AvailableForSaleSecurities | $ 346,016 us-gaap_AvailableForSaleSecurities
Trading assets | 549 us-gaap_TradingSecurities | 366 us-gaap_TradingSecurities
Recurring [Member] |  |
Financial Assets [Abstract] |  |
Obligations of U.S. Government and U.S. Government sponsored enterprises | 181,673 chmg_ObligationsOfUSGovernmentAndUSGovernmentSponsoredEnterprisesFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 188,106 chmg_ObligationsOfUSGovernmentAndUSGovernmentSponsoredEnterprisesFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Mortgage-backed securities, residential | 61,660 us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 104,356 us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Collateralized mortgage obligations | 338 chmg_CollateralizedMortgageObligationsFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 1,015 chmg_CollateralizedMortgageObligationsFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Obligations of states and political subdivisions | 31,451 chmg_ObligationsOfStatesAndPoliticalSubdivisionsFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 38,376 chmg_ObligationsOfStatesAndPoliticalSubdivisionsFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Corporate bonds and notes | 1,533 chmg_CorporateBondsAndNotesFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 2,946 chmg_CorporateBondsAndNotesFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
SBA loan pools | 1,304 chmg_SmallBusinessAdministrationPoolLoansFairValuedisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 1,488 chmg_SmallBusinessAdministrationPoolLoansFairValuedisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Trust Preferred securities | 2,028 chmg_TrustPreferredSecuritiesFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 2,034 chmg_TrustPreferredSecuritiesFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Corporate stocks | 520 chmg_CorporateStocksFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 7,695 chmg_CorporateStocksFairValueDisclosure / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Total available for sale securities | 280,507 us-gaap_AvailableForSaleSecurities / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 346,016 us-gaap_AvailableForSaleSecurities / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Trading assets | 549 us-gaap_TradingSecurities / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 366 us-gaap_TradingSecurities / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] |  |
Financial Assets [Abstract] |  |
Obligations of U.S. Government and U.S. Government sponsored enterprises | 31,115 chmg_ObligationsOfUSGovernmentAndUSGovernmentSponsoredEnterprisesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 31,262 chmg_ObligationsOfUSGovernmentAndUSGovernmentSponsoredEnterprisesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Mortgage-backed securities, residential | 0 us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Collateralized mortgage obligations | 0 chmg_CollateralizedMortgageObligationsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_CollateralizedMortgageObligationsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Obligations of states and political subdivisions | 0 chmg_ObligationsOfStatesAndPoliticalSubdivisionsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_ObligationsOfStatesAndPoliticalSubdivisionsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Corporate bonds and notes | 0 chmg_CorporateBondsAndNotesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_CorporateBondsAndNotesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
SBA loan pools | 0 chmg_SmallBusinessAdministrationPoolLoansFairValuedisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_SmallBusinessAdministrationPoolLoansFairValuedisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Trust Preferred securities | 0 chmg_TrustPreferredSecuritiesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_TrustPreferredSecuritiesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Corporate stocks | 104 chmg_CorporateStocksFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 7,279 chmg_CorporateStocksFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Total available for sale securities | 31,219 us-gaap_AvailableForSaleSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 38,541 us-gaap_AvailableForSaleSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Trading assets | 549 us-gaap_TradingSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 366 us-gaap_TradingSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] |  |
Financial Assets [Abstract] |  |
Obligations of U.S. Government and U.S. Government sponsored enterprises | 150,558 chmg_ObligationsOfUSGovernmentAndUSGovernmentSponsoredEnterprisesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 156,844 chmg_ObligationsOfUSGovernmentAndUSGovernmentSponsoredEnterprisesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Mortgage-backed securities, residential | 61,660 us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 104,356 us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Collateralized mortgage obligations | 338 chmg_CollateralizedMortgageObligationsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 1,015 chmg_CollateralizedMortgageObligationsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Obligations of states and political subdivisions | 31,451 chmg_ObligationsOfStatesAndPoliticalSubdivisionsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 38,376 chmg_ObligationsOfStatesAndPoliticalSubdivisionsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Corporate bonds and notes | 1,533 chmg_CorporateBondsAndNotesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 2,946 chmg_CorporateBondsAndNotesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
SBA loan pools | 1,304 chmg_SmallBusinessAdministrationPoolLoansFairValuedisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 1,488 chmg_SmallBusinessAdministrationPoolLoansFairValuedisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Trust Preferred securities | 2,028 chmg_TrustPreferredSecuritiesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 2,034 chmg_TrustPreferredSecuritiesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Corporate stocks | 416 chmg_CorporateStocksFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 416 chmg_CorporateStocksFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Total available for sale securities | 249,288 us-gaap_AvailableForSaleSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 307,475 us-gaap_AvailableForSaleSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Trading assets | 0 us-gaap_TradingSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 us-gaap_TradingSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] |  |
Financial Assets [Abstract] |  |
Obligations of U.S. Government and U.S. Government sponsored enterprises | 0 chmg_ObligationsOfUSGovernmentAndUSGovernmentSponsoredEnterprisesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_ObligationsOfUSGovernmentAndUSGovernmentSponsoredEnterprisesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Mortgage-backed securities, residential | 0 us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Collateralized mortgage obligations | 0 chmg_CollateralizedMortgageObligationsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_CollateralizedMortgageObligationsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Obligations of states and political subdivisions | 0 chmg_ObligationsOfStatesAndPoliticalSubdivisionsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_ObligationsOfStatesAndPoliticalSubdivisionsFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Corporate bonds and notes | 0 chmg_CorporateBondsAndNotesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_CorporateBondsAndNotesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
SBA loan pools | 0 chmg_SmallBusinessAdministrationPoolLoansFairValuedisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_SmallBusinessAdministrationPoolLoansFairValuedisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Trust Preferred securities | 0 chmg_TrustPreferredSecuritiesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_TrustPreferredSecuritiesFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Corporate stocks | 0 chmg_CorporateStocksFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 chmg_CorporateStocksFairValueDisclosure / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Total available for sale securities | 0 us-gaap_AvailableForSaleSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 us-gaap_AvailableForSaleSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Trading assets | 0 us-gaap_TradingSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember | 0 us-gaap_TradingSecurities / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsRecurringMember
Non-recurring [Member] | Impaired Loans [Member] |  |
Commercial and agricultural [Abstract] |  |
Commercial and industrial |  | 460 chmg_CommercialAndIndustrialLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Commercial mortgages [Abstract] |  |
Commercial mortgages other | 3,593 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 485 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Consumer loans [Abstract] |  |
Home equity lines and loans | 52 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 54 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Total impaired loans/ other real estate owned, net | 3,645 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 999 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Non-recurring [Member] | Other Real Estate Owned [Member] |  |
Commercial and agricultural [Abstract] |  |
Commercial and industrial |  | 101 chmg_CommercialAndIndustrialLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Commercial mortgages [Abstract] |  |
Commercial mortgages other | 3,063 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 266 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Residential mortgages |  | 106 chmg_CommercialMortgageLoansResidentialMortgagesFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Consumer loans [Abstract] |  |
Home equity lines and loans | 2 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 65 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Total impaired loans/ other real estate owned, net | 3,065 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 538 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Non-recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Impaired Loans [Member] |  |
Commercial and agricultural [Abstract] |  |
Commercial and industrial |  | 0 chmg_CommercialAndIndustrialLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Commercial mortgages [Abstract] |  |
Commercial mortgages other | 0 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Consumer loans [Abstract] |  |
Home equity lines and loans | 0 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Total impaired loans/ other real estate owned, net | 0 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Non-recurring [Member] | Quoted Prices in Active Markets for Identical Assets (Level 1) [Member] | Other Real Estate Owned [Member] |  |
Commercial and agricultural [Abstract] |  |
Commercial and industrial |  | 0 chmg_CommercialAndIndustrialLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Commercial mortgages [Abstract] |  |
Commercial mortgages other | 0 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Residential mortgages |  | 0 chmg_CommercialMortgageLoansResidentialMortgagesFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Consumer loans [Abstract] |  |
Home equity lines and loans | 0 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Total impaired loans/ other real estate owned, net | 0 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel1Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Non-recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Impaired Loans [Member] |  |
Commercial and agricultural [Abstract] |  |
Commercial and industrial |  | 0 chmg_CommercialAndIndustrialLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Commercial mortgages [Abstract] |  |
Commercial mortgages other | 0 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Consumer loans [Abstract] |  |
Home equity lines and loans | 0 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Total impaired loans/ other real estate owned, net | 0 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Non-recurring [Member] | Significant Other Observable Inputs (Level 2) [Member] | Other Real Estate Owned [Member] |  |
Commercial and agricultural [Abstract] |  |
Commercial and industrial |  | 0 chmg_CommercialAndIndustrialLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Commercial mortgages [Abstract] |  |
Commercial mortgages other | 0 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Residential mortgages |  | 0 chmg_CommercialMortgageLoansResidentialMortgagesFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Consumer loans [Abstract] |  |
Home equity lines and loans | 0 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Total impaired loans/ other real estate owned, net | 0 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 0 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel2Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Non-recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Impaired Loans [Member] |  |
Commercial and agricultural [Abstract] |  |
Commercial and industrial |  | 460 chmg_CommercialAndIndustrialLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Commercial mortgages [Abstract] |  |
Commercial mortgages other | 2,905 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 485 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Consumer loans [Abstract] |  |
Home equity lines and loans | 52 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 54 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Total impaired loans/ other real estate owned, net | 2,957 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 999 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_ImpairedLoansMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Non-recurring [Member] | Significant Unobservable Inputs (Level 3) [Member] | Other Real Estate Owned [Member] |  |
Commercial and agricultural [Abstract] |  |
Commercial and industrial |  | 101 chmg_CommercialAndIndustrialLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Commercial mortgages [Abstract] |  |
Commercial mortgages other | 3,063 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 266 chmg_CommercialMortgageLoansOtherFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Residential mortgages |  | 106 chmg_CommercialMortgageLoansResidentialMortgagesFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Consumer loans [Abstract] |  |
Home equity lines and loans | 2 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | 65 chmg_HomeEquityLinesAndLoansFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember
Total impaired loans/ other real estate owned, net | $ 3,065 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember | $ 538 us-gaap_LoansReceivableFairValueDisclosure / us-gaap_FairValueByAssetClassAxis = chmg_OtherRealEstateOwnedMember / us-gaap_FairValueByFairValueHierarchyLevelAxis = us-gaap_FairValueInputsLevel3Member / us-gaap_FairValueByMeasurementFrequencyAxis = us-gaap_FairValueMeasurementsNonrecurringMember

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 collateralized mortgage obligations, as of the balance sheet date which have been categorized as available-for-sale. + References No definition available. + Details
Name: | chmg_CollateralizedMortgageObligationsFairValueDisclosure
Namespace Prefix: | chmg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | chmg_CommercialAndAgriculturalFairValueDisclosureAbstract
Namespace Prefix: | chmg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 loan receivable as presented on the statement of financial position, for the commercial and industrial sector which are due the Company as of the balance sheet date. + References No definition available. + Details
Name: | chmg_CommercialAndIndustrialLoansFairValueDisclosure
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 loan receivable as presented on the statement of financial position, for the commercial mortgages loans not other wise disclosed which are due the Company as of the balance sheet date. + References No definition available. + Details
Name: | chmg_CommercialMortgageLoansOtherFairValueDisclosure
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 loan receivable as presented on the statement of financial position, for the commercial mortgages loans in the Residential mortgages sector which are due the Company as of the balance sheet date. + References No definition available. + Details
Name: | chmg_CommercialMortgageLoansResidentialMortgagesFairValueDisclosure
Namespace Prefix: | chmg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | chmg_CommercialMortgagesFairValueDisclosureAbstract
Namespace Prefix: | chmg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | chmg_ConsumerLoansFairValueDisclosureAbstract
Namespace Prefix: | chmg_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 loan receivable as presented on the statement of financial position, for the home equity lines and loans not other wise disclosed which are due to the Company as of the balance sheet date. + References No definition available. + Details
Name: | chmg_HomeEquityLinesAndLoansFairValueDisclosure
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
- 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 trust preferred securities as of the balance sheet date which have been categorized as available-for-sale. + References No definition available. + Details
Name: | chmg_TrustPreferredSecuritiesFairValueDisclosure
Namespace Prefix: | chmg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- 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=28360136&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=27724398&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=6871852&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 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 -Glossary Loan -URI http://asc.fasb.org/extlink&oid=6517073 + 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 Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Mortgage-Backed Securities -URI http://asc.fasb.org/extlink&oid=6517959 + Details
Name: | us-gaap_MortgageBackedSecuritiesAvailableForSaleFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 1 -URI http://asc.fasb.org/extlink&oid=6871852&loc=d3e26610-111562 Reference 2: 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=6871852&loc=d3e26626-111562 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Trading Securities -URI http://asc.fasb.org/extlink&oid=6526789 Reference 4: 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 + 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_FairValueMeasurementsNonrecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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