cm:Concept: us-gaap:GainLossOnSaleOfDebtInvestments
| Gain (Loss) on Sale of Debt Investments |
| us-gaap:GainLossOnSaleOfDebtInvestments |
| The difference between the carrying value and the sale price of debt securities, not separately or otherwise categorized as trading, available-for-sale, or held-to-maturity. This element refers to the gain (loss) included in earnings and not to the cash proceeds of the sale. |
| cm:Concept |
| Monetary (xbrli:monetaryItemType) |
| For Period (duration) |
| Credit |
| false |
| us-gaap:GainLossOnSaleOfDebtInvestments |