cm:Concept: us-gaap:DebtSecuritiesHeldToMaturityOriginatedThreeYearsBeforeLatestFiscalYear
| Debt Securities, Held-to-maturity, Originated Three Years before Latest Fiscal Year |
| us-gaap:DebtSecuritiesHeldToMaturityOriginatedThreeYearsBeforeLatestFiscalYear |
| Amount of investment in debt security measured at amortized cost (held-to-maturity), originated three years prior to latest fiscal year. |
| cm:Concept |
| Monetary (xbrli:monetaryItemType) |
| As Of (instant) |
| Debit |
| false |
| us-gaap:DebtSecuritiesHeldToMaturityOriginatedThreeYearsBeforeLatestFiscalYear |