cm:LineItems: us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems
| Certain Loans Acquired in Transfer Not Accounted for as Debt Securities Acquired During Period [Line Items] |
| us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems |
| 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. |
| cm:LineItems |
| Text/String (xbrli:stringItemType) |
| For Period (duration) |
| (no balance type) |
| true |
| us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems |