v3.24.0.1
Net Loss Per Share Attributable to Compass, Inc. - Schedule of Computation of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders (Detail) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Numerator:      
Net loss attributable to Compass, Inc. $ (321.3) $ (601.5) $ (494.1)
Denominator:      
Weighted-average shares used in computing net loss per share attributable to Compass, Inc., basic (in shares) 466,522,935 428,169,180 326,336,128
Weighted-average shares used in computing net loss per share attributable to Compass, Inc., diluted (in shares) 466,522,935 428,169,180 326,336,128
Net loss per share attributable to Compass, Inc., basic (in dollars per share) $ (0.69) $ (1.40) $ (1.51)
Net loss per share attributable to Compass, Inc., diluted (in dollars per share) $ (0.69) $ (1.40) $ (1.51)