Business Acquisition [Axis] Business Acquisition [Axis] Increase (Decrease) in Stockholders' Equity [Roll Forward] Increase (Decrease) in Stockholders' Equity [Roll Forward] Net loss Net loss Net Income (Loss), Including Portion Attributable to Noncontrolling Interest Entity Address, Postal Zip Code Entity Address, Postal Zip Code Compass Concierge Receivables and Allowance for Credit Losses Compass Concierge Receivables And Allowance For Credit Losses [Text Block] Compass concierge receivables and allowance for credit losses. Preferred stock shares outstanding (in shares) Preferred Stock, Shares Outstanding Business Combinations Business Combinations Policy [Policy Text Block] Debt Instrument [Axis] Debt Instrument [Axis] Write-down of fixed assets Write-down of Fixed Assets [Member] Write-down of Fixed Assets Maximum borrowing capacity Line of Credit Facility, Maximum Borrowing Capacity Income Tax Disclosure [Abstract] Income Tax Disclosure [Abstract] Liabilities related to restructuring costs Restructuring Reserve Line of credit facility, unused capacity, commitment fee, threshold Line Of Credit Facility, Unused Capacity, Commitment Fee, Threshold Line Of Credit Facility, Unused Capacity, Commitment Fee, Threshold Financial Asset, Period Past Due [Domain] Financial Asset, Aging [Domain] Debt instrument, basis spread on variable rate Debt Instrument, Basis Spread on Variable Rate Statistical Measurement [Domain] Statistical Measurement [Domain] Issuance of common stock upon exercise of stock options (in shares) Options exercised (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period Lease termination costs Lease Termination Costs [Member] Lease Termination Costs Debt instrument interest rate (in percent) Debt Instrument, Interest Rate, Stated Percentage Summary of Changes in Contingent Consideration Measured at Fair Value on a Recurring Basis Schedule of Business Acquisitions by Acquisition, Contingent Consideration [Table Text Block] Share-based Payment Arrangement [Abstract] Share-Based Payment Arrangement [Abstract] Business [Line Items] Business [Line Items] Business [Line Items] Additional paid-in capital Additional Paid in Capital, Common Stock Issuance of common stock in connection with acquisitions (in shares) Stock Issued During Period, Shares, Acquisitions Net loss attributable to Compass, Inc. Net loss attributable to Compass, Inc. Net Income (Loss) Attributable to Parent Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] 2021 Employee Stock Purchase Plan Two Thousand And Twenty One Employee Stock Purchase Plan [Member] Two Thousand And Twenty One Employee Stock Purchase Plan. Compass Concierge receivables, net of allowance of $14.2 and $14.7, respectively Financing Receivable, after Allowance for Credit Loss, Current Antidilutive securities excluded from computation of earnings per share (in shares) Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount Subsequent Event Type [Axis] Subsequent Event Type [Axis] Fed Funds Effective Rate Overnight Index Swap Rate Fed Funds Effective Rate Overnight Index Swap Rate [Member] Equity Component [Domain] Equity Component [Domain] Subsequent Event Type [Domain] Subsequent Event Type [Domain] Scenario [Axis] Scenario [Axis] Restructuring Plan [Axis] Restructuring Plan [Axis] Percentage of options (in percent) Share-Based Compensation Arrangement by Share-Based Payment Award, Award Vesting Rights, Percentage Contingent consideration fair value disclosure Contingent Consideration, Fair Value Disclosure Contingent consideration Fair Value Disclosure. Plan Name [Axis] Plan Name [Axis] Title of 12(g) Security Title of 12(g) Security Supplemental disclosures of cash flow information: Supplemental Cash Flow Elements [Abstract] Options forfeited (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price Plan Name [Domain] Plan Name [Domain] Compensation expenses, future services Business Acquisition, Compensation Expense, Future Services Business Acquisition, Compensation Expense, Future Services Statement of Cash Flows [Abstract] Statement of Cash Flows [Abstract] Outstanding borrowings Long-Term Line of Credit Entity Address, State or Province Entity Address, State or Province Fair Value, Inputs, Level 1 Fair Value, Inputs, Level 1 [Member] Shares subject to the Employee Stock Purchase Plan Employee Stock [Member] Balance, weighted-average remaining contractual life (in years) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term Award Type [Axis] Award Type [Axis] Cash And Money Market Funds Cash And Money Market Funds [Member] Cash and money market funds. Net cash used in operating activities Net Cash Provided by (Used in) Operating Activities Current lease liabilities Operating Lease, Liability, Current Share-based Payment Arrangement, Expensed and Capitalized, Amount [Table] Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table] Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Concierge Facility Used Less Than Fifty Percent Concierge Facility Used Less Than Fifty Percent [Member] Concierge facility used less than fifty percent. Operations and support Operations and Support [Member] Operations and support [Member] Options forfeited (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Forfeitures in Period Event [Axis] Event [Axis] Event. Receivables [Abstract] Receivables [Abstract] Debt Default Interest Rate Debt Default Interest Rate [Member] Debt Default Interest Rate [Member] Debt [Line Items] Debt [Line Items] Debt [Line Items] Credit spread on variable rate (in percent) Debt Instrument, Credit Spread On Variable Rate Debt Instrument, Credit Spread On Variable Rate Total liabilities Liabilities Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items] Investing Activities Net Cash Provided by (Used in) Investing Activities [Abstract] Ownership interest acquired (in percent) Business Acquisition, Percentage of Voting Interests Acquired Entity Common Stock, Shares Outstanding Entity Common Stock, Shares Outstanding Fair Value Hierarchy and NAV [Domain] Fair Value Hierarchy and NAV [Domain] Revolving credit facility Revolving Credit Facility [Member] Preferred stock, shares issued (in shares) Preferred Stock, Shares Issued Document Type Document Type Four Fiscal Quarters of 2023 Four Fiscal Quarters of 2023 [Member] Four Fiscal Quarters of 2023 Financial Asset, Period Past Due [Axis] Financial Asset, Aging [Axis] Weighted Average Exercise Price Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract] Financing Receivable, Past Due [Table] Financing Receivable, Past Due [Table] Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate [Member] Number of Awards Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] Restructuring Type [Axis] Restructuring Type [Axis] Finite-Lived Intangible Assets, Major Class Name [Domain] Finite-Lived Intangible Assets, Major Class Name [Domain] Balance as of the beginning of the period (in dollars per share) Balance as of the end of period (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value Debt Debt Disclosure [Text Block] Common Class B Class B common stock Common Class B [Member] Entity Shell Company Entity Shell Company Over 90 days past due Financial Asset, Equal to or Greater than 90 Days Past Due [Member] Subsequent Event Subsequent Event [Member] Document Period End Date Document Period End Date Share-based Payment Arrangement, Tranche One Share-Based Payment Arrangement, Tranche One [Member] Common Class C Class C common stock Common Class C [Member] Summary of Fair Value Measurements of Our Financial Instruments Fair Value, Liabilities Measured on Recurring and Nonrecurring Basis [Table Text Block] Total assets Assets Debt Disclosure [Abstract] Debt Disclosure [Abstract] Earnings Per Share [Abstract] Earnings Per Share [Abstract] Income Statement Location [Axis] Income Statement Location [Axis] Business [Table] Business [Table] Business Share-based Payment Arrangement, Tranche Three Share-Based Payment Arrangement, Tranche Three [Member] Antidilutive Securities [Axis] Antidilutive Securities [Axis] Schedule of Restructuring and Related Costs [Table] Schedule of Restructuring and Related Costs [Table] Options exercised (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price Net cash provided by (used in) financing activities Net Cash Provided by (Used in) Financing Activities Accounting Policies [Abstract] Accounting Policies [Abstract] Stockholders' Equity Note [Abstract] Stockholders' Equity Note [Abstract] Concierge receivables Financing Receivable, before Allowance for Credit Loss Summary of ACL for Concierge Receivables Financing Receivable, Allowance for Credit Loss [Table Text Block] Stockholders’ equity Stockholders' Equity Attributable to Parent [Abstract] Net Loss Per Share Attributable to Compass, Inc. Earnings Per Share [Text Block] Commissions payable Accrued Sales Commission, Current Four Fiscal Quarters Thereafter Four Fiscal Quarters Thereafter 2023 [Member] Four Fiscal Quarters Thereafter 2023 Award Type [Domain] Award Type [Domain] Unrecognized stock-based compensation, period of recognition Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition Exercisable at end of period, weighted-average remaining contractual life (in years) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term Restructuring Plan [Domain] Restructuring Plan [Domain] Entity Registrant Name Entity Registrant Name Employee withholdings for future purchases under the ESPP Share-based Compensation Arrangement by Share-based Payment Award, Employee Withholdings For Stock Purchase Share-based Compensation Arrangement by Share-based Payment Award, Employee Withholdings For Stock Purchase Customer Relationships Customer Relationships [Member] Entity Address, City or Town Entity Address, City or Town Operating expenses: Operating Expenses [Abstract] Total stockholders' equity Beginning balance Ending balance Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest Asset Class [Domain] Asset Class [Domain] Minimum Minimum [Member] Non-controlling interest Stockholders' Equity Attributable to Noncontrolling Interest Statement of Financial Position [Abstract] Statement of Financial Position [Abstract] Entity Emerging Growth Company Entity Emerging Growth Company Common stock par or stated value per share (in dollars per share) Common Stock, Par or Stated Value Per Share Recognized identifiable assets and liabilities assumed, intangible assets, other than goodwill Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill Commitments and Contingencies Disclosure [Abstract] Commitments and Contingencies Disclosure [Abstract] Fair Value of Financial Assets and Liabilities Fair Value Disclosures [Text Block] Closing stock price (in dollars per share) Share Price Trading Symbol Trading Symbol Entity File Number Entity File Number Changes In Contingent Consideration Measured At Fair Value On A Recurring Basis [Roll Forward] Changes In Contingent Consideration Measured At Fair Value On A Recurring Basis [Roll Forward] Changes In Contingent Consideration Measured At Fair Value On A Recurring Basis Research and development Research and Development Expense Commissions and other related expense Commission And Other Related Expenses [Member] Commission And Other Related Expenses. Granted (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period Restricted Stock Units Outstanding RSUs Restricted Stock Units (RSUs) [Member] Share-based Payment Arrangement, Tranche Five Share-based Payment Arrangement, Tranche Five [Member] Share-based Payment Arrangement, Tranche Five Proceeds from drawdowns on credit facility Proceeds from Lines of Credit Depreciation and Amortization Depreciation and Amortization [Member] Depreciation and Amortization Credit Facility Collateral [Domain] Credit Facility Collateral [Domain] Credit Facility Collateral [Domain] Use of Estimates Use of Estimates, Policy [Policy Text Block] Cash and cash Equivalents, fair value disclosure Cash and Cash Equivalents, Fair Value Disclosure Acquisitions Business Combination Disclosure [Text Block] Common Stock voting rights Common Stock, Voting Rights Credit Facility Utilization [Domain] Credit Facility Utilization [Domain] Credit facility utilization. Liquidity required by financial covenants Debt Instrument, Covenant, Liquidity Debt Instrument, Covenant, Liquidity London Interbank Offered Rate (LIBOR) London Interbank Offered Rate (LIBOR) [Member] London Interbank Offered Rate (LIBOR) Swap Rate London Interbank Offered Rate (LIBOR) Swap Rate [Member] Revenue Revenues Income Taxes Income Tax Disclosure [Text Block] Grants in period (in shares) Options early exercised (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Non-Option Equity Instruments, Granted Credit Facility [Domain] Credit Facility [Domain] Number of votes per share of common stock Common Stock, Number of Votes Common Stock, Number of Votes Cash paid for interest Interest Paid, Excluding Capitalized Interest, Operating Activities Net loss per share attributable to Compass, Inc., basic (in dollars per share) Earnings Per Share, Basic Share based compensation by share based payment arrangement service based vesting period Share-Based Compensation Arrangement by Share-Based Payment Award, Award Requisite Service Period Credit Facility Collateral [Axis] Credit Facility Collateral [Axis] Credit Facility Colletral [Axis] Total Compass, Inc. stockholders’ equity Stockholders' Equity Attributable to Parent Forfeited (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value Vesting [Domain] Vesting [Domain] Financing Receivable, Past Due [Line Items] Financing Receivable, Past Due [Line Items] Entity Interactive Data Current Entity Interactive Data Current Fair Value, by Balance Sheet Grouping [Table] Fair Value, by Balance Sheet Grouping [Table] Issuance of common stock upon settlement of RSUs, net of taxes withheld Restricted Stock, Value, Shares Issued Net of Tax Withholdings Changes in operating assets and liabilities: Increase (Decrease) in Operating Capital [Abstract] Accumulated Deficit Retained Earnings [Member] Undesignated Preferred Stock Undesignated Preferred Stock [Member] Undesignated Preferred Stock Common Stock Common Stock [Member] Summary of Share-based Payment Arrangement, Expensed and Capitalized, Amount Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Table Text Block] Issuance of common stock in connection with the Agent Equity Program Shares Issued, Value, Share-Based Payment Arrangement, after Forfeiture Number of shares available for grant (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Available for Grant Class of Stock [Axis] Class of Stock [Axis] Opening balance Closing balance Total contingent consideration Business Combination, Contingent Consideration, Liability Statement [Table] Statement [Table] Vested and converted to common stock (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value Number of additional shares available for grant (in shares) Share Based Compensation Arrangement By Share Based Payment Award Number Of Additional Shares Available for Grant Share Based Compensation Arrangement By Share Based Payment Award Number Of Additional Shares Available for Grant Issuance of common stock in connection with acquisitions Stock Issued During Period, Value, Acquisitions Document Quarterly Report Document Quarterly Report Letter of Credit Letter of Credit [Member] Current Assets Assets, Current [Abstract] Non-current lease liabilities Operating Lease, Liability, Noncurrent Statistical Measurement [Axis] Statistical Measurement [Axis] Payments related to acquisitions, including contingent consideration Payment for Contingent Consideration Liability, Financing Activities Commissions and other related expense Sales Commissions and Fees Share-based Payment Arrangement, Tranche Four Share-based Payment Arrangement, Tranche Four [Member] Share-based Payment Arrangement, Tranche Four Accumulated deficit Retained Earnings (Accumulated Deficit) Accounts receivable, net of allowance of $8.2 and $9.0, respectively Accounts Receivable, after Allowance for Credit Loss, Current Equity Components [Axis] Equity Components [Axis] Scenario [Domain] Scenario [Domain] Exercisable and vested at end of period (in dollars per shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Weighted Average Exercise Price Document Fiscal Year Focus Document Fiscal Year Focus Numerator: Earnings Per Share, Basic and Diluted EPS [Abstract] Earnings Per Share, Basic and Diluted EPS Operating Activities Net Cash Provided by (Used in) Operating Activities [Abstract] Statement [Line Items] Statement [Line Items] Event [Domain] Event [Domain] Event. Nonvested stock options (in shares) Balance as of the beginning of the period (in shares) Balance as of the end of period (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number Accrued expenses and other current liabilities Business Combination, Contingent Consideration, Liability, Current Variable Rate [Domain] Variable Rate [Domain] Fair Value Hierarchy and NAV [Axis] Fair Value Hierarchy and NAV [Axis] Concierge credit facility Concierge Revolving Credit Facility [Member] Concierge Revolving Credit Facility [Member] Loss Contingencies [Table] Loss Contingencies [Table] Change in acquisition related contingent consideration Changes in fair value included in net loss Business Combination, Contingent Consideration Arrangements, Change in Amount of Contingent Consideration, Liability Service-based and Performance-based Service-based and Performance-based [Member] Service-based and Performance-based Commissions payable Increase Decrease In Commission Payable Increase decrease in commission payable. Operating lease right-of-use assets Operating Lease, Right-of-Use Asset 2021 Equity Incentive Plan Two Thousand And Twenty One Equity Incentive Plan [Member] Two Thousand And Twenty One Equity Incentive Plan. Type of Restructuring [Domain] Type of Restructuring [Domain] Document Transition Report Document Transition Report Debt Covenant Period [Domain] Debt Covenant Period [Domain] Debt Covenant Period [Domain] Local Phone Number Local Phone Number Summary of Stock Option Activity Share-Based Payment Arrangement, Option, Activity [Table Text Block] Loss from operations Operating Income (Loss) New Accounting Pronouncements New Accounting Pronouncements, Policy [Policy Text Block] Operations and support Other Cost and Expense, Operating Common stock shares outstanding (in shares) Beginning balance (in shares) Ending balance (in shares) Shares outstanding (in shares) Common Stock, Shares, Outstanding Credit Facility Utilization [Axis] Credit Facility Utilization [Axis] Credit facility utilization. Outside of 2012 Plan Outside of 2012 Plan [Member] Outside of 2012 Plan Deferred compensation share-based arrangements, liability Deferred Compensation Share-Based Arrangements, Liability, Current Goodwill Goodwill Accounting Policies [Table] Accounting Policies [Table] Accounting policies. Adjustments to reconcile net loss to net cash used in operating activities: Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] Income tax expense Income tax expense Income Tax Expense (Benefit) Share-based Payment Arrangement, Tranche Six Share-based Payment Arrangement, Tranche Six [Member] Share-based Payment Arrangement, Tranche Six Preferred stock, par value (in dollars per share) Preferred Stock, Par or Stated Value Per Share Income Statement [Abstract] Income Statement [Abstract] Options granted (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Grants in Period, Gross Additional Paid-in Capital Additional Paid-in Capital [Member] Document Fiscal Period Focus Document Fiscal Period Focus Intrinsic value of options Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercises in Period, Intrinsic Value Unvested early exercised stock options Unvested Early Exercised Options [Member] Unvested early exercised options [Member]. Weighted-average number of shares outstanding used to compute net loss per share attributable to Compass, Inc., diluted (in shares) Weighted Average Number of Shares Outstanding, Diluted Loss Contingencies [Line Items] Loss Contingencies [Line Items] Allowance for credit loss on financing receivable current Financing Receivable, Allowance for Credit Loss, Current Operating lease right-of-use assets and operating lease liabilities Increase Decrease In Operating Lease Right Of Use Assets Net Of Operating Lease Liabilities Increase decrease in operating lease right of use assets net of operating lease liabilities. Base Rate Base Rate [Member] Common stock granted to sellers (in shares) Number Of Shares Granted Under Share Based Arrangement Number of shares granted under share based arrangement. Common stock, $0.00001 par value, 13,850,000,000 shares authorized at March 31, 2023 and December 31, 2022; 458,911,722 shares issued and outstanding at March 31, 2023; 438,098,194 shares issued and outstanding at December 31, 2022 Common Stock, Value, Issued Restructuring Charges Restructuring Charges [Member] Unpaid Severance Costs Unpaid Severance Costs [Member] Unpaid Severance Costs Debt Instrument, Name [Domain] Debt Instrument, Name [Domain] Business Acquisition, Acquiree [Domain] Business Acquisition, Acquiree [Domain] Issuance of common stock upon settlement of RSUs, net of taxes withheld (in shares) Restricted Stock, Shares Issued Net of Shares for Tax Withholdings Granted (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value Line of credit facility maximum borrowing capacity sublimit Line of Credit Facility Maximum Borrowing Capacity Sublimit Line of credit facility maximum borrowing capacity sublimit. Summary of Computation of Diluted Net Loss Per Share Attributable to Common Stockholders Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block] Beginning of period End of period Financing Receivable, Allowance for Credit Loss Exercisable and vested at end of period, aggregate intrinsic value Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Exercisable, Intrinsic Value Preferred stock, shares authorized (in shares) Preferred Stock, Shares Authorized Cash and cash equivalents at beginning of period Cash and cash equivalents at end of period Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents Net (income) loss attributable to non-controlling interests Net Income (Loss) Attributable to Noncontrolling Interest Commitments and Contingencies Commitments and Contingencies Disclosure [Text Block] Current liabilities Liabilities, Current [Abstract] Proceeds from exercise of stock options Proceeds from Stock Options Exercised Common stock shares issued (in shares) Shares issued (in shares) Common Stock, Shares, Issued Total Compass, Inc. Stockholders’ Equity Parent [Member] Income Statement Location [Domain] Income Statement Location [Domain] Sales and marketing Other Selling and Marketing Expense Amendment Flag Amendment Flag Useful life (in years) Finite-Lived Intangible Asset, Useful Life Net cash used in investing activities Net Cash Provided by (Used in) Investing Activities Issuance of common stock under the Employee Stock Purchase Plan Stock Issued During Period, Value, Employee Stock Purchase Plan Entity Current Reporting Status Entity Current Reporting Status Other non-current assets Other Assets, Noncurrent Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract] Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Additional Disclosures [Abstract] Depreciation and amortization Depreciation, Depletion and Amortization Purchase price of common stock, percent of market price (in percent) Share-Based Compensation Arrangement by Share-Based Payment Award, Purchase Price of Common Stock, Percent Unused capacity commitment fee (in percent) Line of Credit Facility, Unused Capacity, Commitment Fee Percentage Payments Payment Of Contingent Consideration In Cash And Issuance Of Shares Payment of contingent consideration in cash and issuance of shares. Severance related personnel costs Employee Severance [Member] Q2 2022 Strategic Actions Q2 2022 Strategic Actions [Member] Q2 2022 Strategic Actions Issuance of common stock under the Employee Stock Purchase Plan (in shares) Stock Issued During Period, Shares, Employee Stock Purchase Plans Maximum employee subscription amount Share-based Compensation Arrangement by Share-based Payment Award, Maximum Employee Subscription Amount Share-based Compensation Arrangement by Share-based Payment Award, Maximum Employee Subscription Amount Bad debt expense Bad Debt Expense Bad debt expense. Balance, beginning of period (in shares) Balance, end of period (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Number Real Estate Brokerage Real Estate Brokerage [Member] Real Estate Brokerage Schedule of Stock by Class [Table] Schedule of Stock by Class [Table] Entity Incorporation, State or Country Code Entity Incorporation, State or Country Code Basis of Presentation Basis of Accounting, Policy [Policy Text Block] Property and equipment, net Property, Plant and Equipment, Net Debt [Table] Debt [Table] Debt [Table] Sales and marketing Selling and Marketing Expense [Member] Outstanding stock options Convertible preferred stock Share-Based Payment Arrangement, Option [Member] Other non-current assets Increase (Decrease) in Other Noncurrent Assets Allowance for credit loss on accounts receivable current Accounts Receivable, Allowance for Credit Loss, Current Issuance of common stock upon exercise of stock options Stock Issued During Period, Value, Stock Options Exercised Forfeited (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Forfeited in Period Other non-current liabilities Business Combination, Contingent Consideration, Liability, Noncurrent Restructuring Activities Restructuring and Related Activities Disclosure [Text Block] Common stock shares authorized (in shares) Shares authorized (in shares) Common Stock, Shares Authorized Total operating expenses Operating Expenses Maximum Maximum [Member] Accounts payable Increase (Decrease) in Accounts Payable, Trade Common Class A Class A common stock Common Class A [Member] Schedule of Business Acquisitions, by Acquisition [Table] Schedule of Business Acquisitions, by Acquisition [Table] Accounting Policies [Line Items] Accounting Policies [Line Items] Accounting policies. Cash and cash equivalents Cash and Cash Equivalents, at Carrying Value Total current assets Assets, Current Acquisitions Business Combination Contingent Consideration Acquisitions During The Period Business combination contingent consideration acquisitions during the period. Business Acquisition [Line Items] Business Acquisition [Line Items] Entity Small Business Entity Small Business Preferred Stock and Common stock Stockholders' Equity Note Disclosure [Text Block] Shares issued in period (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Shares Issued in Period Other activity related to non-controlling interests Noncontrolling Interest, Other Activity Noncontrolling Interest, Other Activity Summary of Significant Accounting Policies Significant Accounting Policies [Text Block] Unrecognized stock-based compensation expense Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount Number of Options Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding [Roll Forward] Balance, aggregate intrinsic value Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Intrinsic Value Accounts receivable Increase (Decrease) in Accounts Receivable Conversion of stock, shares issued (in shares) Conversion of Stock, Shares Issued Repayments of drawdowns on Concierge credit facility Repayments of Lines of Credit Business Combination and Asset Acquisition [Abstract] Class of Stock [Line Items] Class of Stock [Line Items] Issuance of common stock in connection with the Agent Equity Program (in shares) Shares Issued, Shares, Share-Based Payment Arrangement, after Forfeiture Stock-Based Compensation Share-Based Payment Arrangement [Policy Text Block] Accrued expenses and other liabilities Increase (Decrease) in Other Accrued Liabilities Share-based Payment Arrangement, Tranche Seven Share-based Payment Arrangement, Tranche Seven [Member] Share-based Payment Arrangement, Tranche Seven Financing Receivable, Allowance for Credit Loss [Roll Forward] Financing Receivable, Allowance for Credit Loss [Roll Forward] Liabilities and Stockholders’ Equity Liabilities and Equity [Abstract] Options granted (in dollars per share) Share-Based Compensation Arrangements by Share-Based Payment Award, Options, Grants in Period, Weighted Average Exercise Price 2021 Agent Equity Program 2021 Agent Equity Program [Member] 2021 Agent Equity Program Recognized identifiable assets and liabilities assumed, other liabilities Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Labilities Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Labilities 31-90 days past due Financing Receivables Overdue Up To Thirty One Days And Less Than Ninety Days [Member] Financing receivables overdue up to thirty one days and less than ninety days. Accounts payable Accounts Payable, Current Restructuring costs Restructuring Charges Summary of Aging Analysis of Concierge Receivables Financing Receivable, Past Due [Table Text Block] Business and Basis of Presentation Nature of Operations [Text Block] Entity Filer Category Entity Filer Category Weighted-average number of shares outstanding used to compute net loss per share attributable to Compass, Inc., basic (in shares) Weighted Average Number of Shares Outstanding, Basic Purchase period Share-Based Compensation Arrangement By Share-based Payment Award, Purchase Period Share-Based Compensation Arrangement By Share-based Payment Award, Purchase Period Stock based compensation expense Share-Based Payment Arrangement, Expense Commitments and contingencies (Note 6) Commitments and Contingencies Security Exchange Name Security Exchange Name Balance, beginning of period (in dollars per share) Balance, end of period (in dollars per share) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Outstanding, Weighted Average Exercise Price Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] Issuance of common stock for acquisitions Stock Issued Letters of credit Letters of Credit Outstanding, Amount General and administrative General and Administrative Expense [Member] Cash and Cash Equivalents Cash and Cash Equivalents [Member] Cover [Abstract] Cover [Abstract] Fair Value, Inputs, Level 3 Fair Value, Inputs, Level 3 [Member] Loss before income taxes and equity in loss of unconsolidated entity Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest Recognized identifiable assets and liabilities assumed, other assets Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Assets Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Assets Depreciation and amortization Depreciation, Depletion and Amortization, Nonproduction Restructuring and Related Activities [Abstract] Restructuring and Related Activities [Abstract] Stock-Based Compensation Share-Based Payment Arrangement [Text Block] Financing receivables related to unsold properties (in percent) Percentage Of Financing Receivables Relating To Unsold Properties Percentage of financing receivables relating to unsold properties. Non-controlling Interest Noncontrolling Interest [Member] Incurred cost Restructuring and Related Cost, Incurred Cost Forecast Forecast [Member] Future consideration to be paid to the acquirees Business Combination Future Compensation To Be Paid To The Acquirees Business Combination Future Compensation To Be Paid To The Acquirees Taxes paid related to net share settlement of equity awards Taxes paid related to net share settlement of equity Payment, Tax Withholding, Share-Based Payment Arrangement Total liabilities and stockholders’ equity Liabilities and Equity Proceeds from issuance of common stock under Employee Stock Purchase Plan Proceeds, Issuance of Shares, Share-Based Payment Arrangement, Excluding Option Exercised Amortization of debt issuance costs Amortization of Debt Issuance Costs Repayment of borrowings Repayments of Long-Term Lines of Credit Organization, Consolidation and Presentation of Financial Statements [Abstract] Organization, Consolidation and Presentation of Financial Statements [Abstract] Class of Stock Disclosures [Abstract] Class of Stock Disclosures [Abstract] Payments for acquisitions, net of cash acquired Payments to Acquire Businesses, Net of Cash Acquired Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] Share-Based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] Goodwill, expected tax deductible amount Business Acquisition, Goodwill, Expected Tax Deductible Amount Debt Covenant Period [Axis] Debt Covenant Period [Axis] Debt Covenant Period 2012 Stock Incentive Plan Two Thousand And Twelve Stock Incentive Plan [Member] Two Thousand And Twelve Stock Incentive Plan. Current Fiscal Year End Date Current Fiscal Year End Date Vesting [Axis] Vesting [Axis] Net loss per share attributable to Compass, Inc., diluted (in dollars per share) Earnings Per Share, Diluted Intangible assets, net Intangible Assets, Net (Excluding Goodwill) Denominator: Earnings Per Share, Basic and Diluted, Other Disclosure EPS [Abstract] Earnings Per Share, Basic and Diluted, Other Disclosure EPS Share-based Payment Arrangement, Tranche Two Share-Based Payment Arrangement, Tranche Two [Member] Summary of Stock by Class Schedule of Stock by Class [Table Text Block] Stock-based compensation APIC, Share-Based Payment Arrangement, Increase for Cost Recognition Total current liabilities Liabilities, Current Net loss Net Income (Loss), Including Portion Attributable to Nonredeemable Noncontrolling Interest Other current assets Other Assets, Current Restructuring Cost and Reserve [Line Items] Restructuring Cost and Reserve [Line Items] Allowances Financing Receivable, Credit Loss, Expense (Reversal) Summary of Restricted Stock Units Activity Share-Based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block] Expiration period Share-Based Compensation Arrangement by Share-Based Payment Award, Expiration Period Exercisable and vested at end of period (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Options, Vested and Expected to Vest, Exercisable, Number Compass Concierge receivables Increase (Decrease) in Finance Receivables Entity Address, Address Line One Entity Address, Address Line One Second A&R Concierge Facility Second Concierge Revolving Credit Facility [Member] Second Concierge Revolving Credit Facility Other Proceeds from (Payments for) Other Financing Activities Class of Stock [Domain] Class of Stock [Domain] Fair Value Disclosures [Abstract] Fair Value Disclosures [Abstract] Line of credit facility, available borrowing capacity Line of Credit Facility, Remaining Borrowing Capacity Interest expense Interest Expense Contingent liabilities undiscounted maximum payment Business Combinations Contingent Liabilities Undiscounted Maximum Payment Business Combinations Contingent Liabilities Undiscounted Maximum Payment Credit Facility [Axis] Credit Facility [Axis] Vested and converted to common stock (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Vested in Period Contingent consideration liability fixed in value Business Combination Contingent Consideration Liability Fixed In Value Business Combination Contingent Consideration Liability Fixed In Value Entity Tax Identification Number Entity Tax Identification Number Number of ESPP shares authorized (in shares) Share-Based Compensation Arrangement by Share-Based Payment Award, Number of Shares Authorized Unvested common stock Unvested Common Stock [Member] Unvested common stock [Member]. Net write-offs and other Financing Receivable, Allowance for Credit Loss, Writeoff 2022 Agent Equity Program 2022 Agent Equity Program [Member] 2022 Agent Equity Program Vesting of early exercised stock options APIC, Share-Based Payment Arrangement, Option, Increase for Cost Recognition Shares withheld for tax withholding obligation (in shares) Share-Based Payment Arrangement, Shares Withheld for Tax Withholding Obligation Current Financial Asset, Not Past Due [Member] Net increase (decrease) in cash and cash equivalents Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect Summary of restructuring costs Restructuring and Related Costs [Table Text Block] Investment income, net Investment Income, Nonoperating Entity Central Index Key Entity Central Index Key Antidilutive Securities, Name [Domain] Antidilutive Securities, Name [Domain] Weighted Average Grant Date Fair Value Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract] Finite-Lived Intangible Assets by Major Class [Axis] Finite-Lived Intangible Assets by Major Class [Axis] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award [Table] Purchase price at time of acquisition Business Combination, Consideration Transferred Common stock conversion ratio Common Stock, Convertible, Conversion Ratio Common Stock, Convertible, Conversion Ratio Accrued expenses and other current liabilities Other Accrued Liabilities, Current Date of incorporation Entity Incorporation, Date of Incorporation City Area Code City Area Code General and administrative General and Administrative Expense Assets Assets [Abstract] Other current assets Increase (Decrease) in Other Current Assets Statement of Stockholders' Equity [Abstract] Statement of Stockholders' Equity [Abstract] Credit facility Line of Credit, Current Escrow and trust deposits Noninterest-Bearing Deposit Liabilities Financing Activities Net Cash Provided by (Used in) Financing Activities [Abstract] Asset Class [Axis] Asset Class [Axis] Supplemental non-cash information: Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract] Stock-based compensation Share-Based Payment Arrangement, Noncash Expense Voting rights, number of votes for each share Common Stock, Voting Rights, Number Of Votes For Each Share Common Stock, Voting Rights, Number Of Votes For Each Share Required consolidated revenue threshold Debt Instrument, Covenant. Required Consolidated Revenue Threshold Debt Instrument, Covenant. Required Consolidated Revenue Threshold Variable Rate [Axis] Variable Rate [Axis] Other non-current liabilities Other Liabilities, Noncurrent Equity in loss of unconsolidated entity Equity in loss of unconsolidated entity Income (Loss) from Equity Method Investments Restated Certificate Of Incorporation [Member] Restated Certificate Of Incorporation [Member] Restated Certificate Of Incorporation [Member] Increase in the shares authorized for issuance as a percentage of shares outstanding (in percent) Share Based Compensation By Share Based Payment Arrangement Increase In The Number Of Shares Authorized For Issuance As A Percentage Of Shares Outstanding Share Based Compensation By Share Based Payment Arrangement Increase In The Number Of Shares Authorized For Issuance As A Percentage Of Shares Outstanding Capital expenditures Payments to Acquire Property, Plant, and Equipment Research and development Research and Development Expense [Member] Concierge Facility Used Greater Than Fifty Percent Concierge Facility Used Greater Than Fifty Percent [Member] Concierge facility used greater than fifty percent Vesting rights threshold (in percent) Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights Threshold, Percentage Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights Threshold, Percentage Summary of Computation of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] Investment in unconsolidated entity Payments to Acquire Interest in Subsidiaries and Affiliates