XML 54 R31.htm IDEA: XBRL DOCUMENT
v3.23.1

Share-Based Compensation - 2020 Employee Share Purchase Plan (Details) - Employee stock - shares |  | 3 Months Ended
--- | --- | ---
Oct. 01, 2021 | Mar. 31, 2023
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Number of shares authorized (in shares) |  | 340,053
Allowable increase in shares authorized for issuance, percentage of outstanding stock (in percent) |  | 1.00%
Maximum increase in shares available for issuance (in shares) |  | 510,080
Stock plan, offering period | 6 months |
Saving period (in percent) | 15.00% |

X
- Definition Share-Based Compensation Arrangement By Share-Based Payment Award, Allowable Increase In Shares Authorized For Issuance, Percentage Of Outstanding Stock Maximum + References No definition available. + Details
Name: | cmps_ShareBasedCompensationArrangementByShareBasedPaymentAwardAllowableIncreaseInSharesAuthorizedForIssuancePercentageOfOutstandingStockMaximum
Namespace Prefix: | cmps_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share-Based Compensation Arrangement By Share-Based Payment Award, Maximum Increase In Shares Available For Issuance + References No definition available. + Details
Name: | cmps_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumIncreaseInSharesAvailableForIssuance
Namespace Prefix: | cmps_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement By Share-based Payment Award, Stock Plan Offering Period + References No definition available. + Details
Name: | cmps_ShareBasedCompensationArrangementByShareBasedPaymentAwardStockPlanOfferingPeriod
Namespace Prefix: | cmps_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discount rate from fair value on purchase date that participants pay for shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPricePurchaseDate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |