v3.22.0.1

Leases - Additional Information (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 USD ($) branch | Dec. 31, 2020 USD ($)
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |
Number of full service branches | branch | 4 |
Number of locations | branch | 5 |
Weighted average discount rate | 2.23% |
ROU assets | $ 2,466 | $ 3,111
Present value of net future lease payments | 2,735 | 3,440
Rent expense | $ 1,200 | $ 1,600
Minimum |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |
Remaining term of contract | 1 year |
Maximum |  |
New Accounting Pronouncements or Change in Accounting Principle [Line Items] |  |
Remaining term of contract | 6 years |

X
- Definition Lessee, Operating Lease, Number Of Full Service Branches + References No definition available. + Details
Name: | cbnk_LesseeOperatingLeaseNumberOfFullServiceBranches
Namespace Prefix: | cbnk_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lessee, Operating Lease, Number Of Locations + References No definition available. + Details
Name: | cbnk_LesseeOperatingLeaseNumberOfLocations
Namespace Prefix: | cbnk_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Lessee, Operating Lease, Remaining Term Of Contract + References No definition available. + Details
Name: | cbnk_LesseeOperatingLeaseRemainingTermOfContract
Namespace Prefix: | cbnk_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating Lease, Right-Of-Use Asset, Net + References No definition available. + Details
Name: | cbnk_OperatingLeaseRightOfUseAssetNet
Namespace Prefix: | cbnk_
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_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average discount rate for operating lease calculated at point in time. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (g)(4) -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 55 -Paragraph 53 -URI http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971 + Details
Name: | us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |