XML 62 R51.htm IDEA: XBRL DOCUMENT
v3.23.2

FAIR VALUE - Narrative (Details) | 6 Months Ended |
--- | --- | ---
Jun. 30, 2023 investment | Dec. 31, 2022 USD ($)
Fair Value Disclosures [Abstract] |  |
Number of corporate sub-debt issuances | investment | 8 |
Significant Unobservable Inputs (Level 3) |  |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] |  |
Assets, fair value disclosure | $ |  | $ 0

X
- Definition Number of Corporate Debt Investments + References No definition available. + Details
Name: | chmg_NumberOfCorporateDebtInvestments
Namespace Prefix: | chmg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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