XML 56 R40.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Stock-Based Compensation - Share-based Payment Arrangement, Expensed and Capitalized, Amount (Detail) - USD ($) $ in Millions |  | 3 Months Ended | 6 Months Ended
--- | --- | --- | ---
Mar. 31, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  | $ 59.2 | $ 54.3 | $ 123.0 | $ 221.8
IPO Related Expense |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense | $ 148.5 |  |  |  | 148.5
Commissions and other related expense |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  | 6.4 | 11.7 | 23.4 | 56.3
Commissions and other related expense | IPO Related Expense |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  |  |  |  | 41.7
Sales and marketing |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  | 11.2 | 8.6 | 21.9 | 17.6
Sales and marketing | IPO Related Expense |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  |  |  |  | 1.8
Operations and support |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  | 4.1 | 2.8 | 8.4 | 7.8
Operations and support | IPO Related Expense |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  |  |  |  | 3.1
Research and development |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  | 18.9 | 13.5 | 35.8 | 63.0
Research and development | IPO Related Expense |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  |  |  |  | 46.9
General and administrative |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  | $ 18.6 | $ 17.7 | $ 33.5 | 77.1
General and administrative | IPO Related Expense |  |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |  |
Stock based compensation expense |  |  |  |  | $ 55.0

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=comp_CommissionAndOtherRelatedExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingAndMarketingExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=comp_OperationsAndSupportMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_ResearchAndDevelopmentExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GeneralAndAdministrativeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |