cm:Concept: us-gaap:SecuritiesSoldUnderAgreementsToRepurchaseAsset
       
          
          | Securities Sold under Agreements to Repurchase, Asset | 
       
       
          
          | us-gaap:SecuritiesSoldUnderAgreementsToRepurchaseAsset | 
       
       
          
          | Amount of asset associated with funds outstanding borrowed in the form of a security repurchase agreement between the entity and another party for the sale and repurchase of identical or substantially the same securities at a date certain for a specified price. | 
       
       
          
          | cm:Concept | 
       
       
          
          | Monetary (xbrli:monetaryItemType) | 
       
       
          
          | As Of (instant) | 
       
       
          
          | Debit | 
       
       
          
          | false | 
       
       
          
          | us-gaap:SecuritiesSoldUnderAgreementsToRepurchaseAsset |