XML 86 R60.htm IDEA: XBRL DOCUMENT
v3.3.1.900

BUSINESS COMBINATIONS (Details ) $ / shares in Units, ¥ in Thousands, $ in Thousands |  |  |  |  |  |  | 1 Months Ended | 8 Months Ended | 12 Months Ended |  |  |  |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
May. 28, 2015 USD ($) | May. 28, 2015 CNY (¥) | Aug. 01, 2014 USD ($) | Aug. 01, 2014 CNY (¥) | Jul. 04, 2014 USD ($) shares | Jul. 04, 2014 CNY (¥) shares | Apr. 01, 2014 CNY (¥) employee | May. 20, 2013 USD ($) | Apr. 17, 2013 $ / shares | Apr. 17, 2013 CNY (¥) shares | Apr. 30, 2015 USD ($) shares | Apr. 30, 2015 CNY (¥) shares | Dec. 31, 2014 USD ($) | Dec. 31, 2015 USD ($) | Dec. 31, 2015 CNY (¥) | Dec. 31, 2015 USD ($) shares | Dec. 31, 2015 CNY (¥) shares | Dec. 31, 2014 USD ($) shares | Dec. 31, 2014 CNY (¥) shares | Dec. 31, 2013 CNY (¥) | Dec. 31, 2015 CNY (¥) | Dec. 15, 2015 USD ($) | Dec. 15, 2015 CNY (¥) | Dec. 04, 2015 USD ($) | May. 28, 2015 CNY (¥) | Apr. 30, 2015 CNY (¥) | Sep. 15, 2014 CNY (¥) item | Jul. 04, 2014 CNY (¥) | May. 20, 2013 CNY (¥)
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of noncontrolling interests |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 21,024 |  | $ 21,024 |  |  | ¥ 76,531 |  | ¥ 136,191 |  |  |  |  |  |  |  |
Loss (gain) from change in fair value of contingent consideration liability |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (1,082) | ¥ (7,010) |  | 13,749 | ¥ 1,067 |  |  |  |  |  |  |  |  |
Equity Method Investments |  |  |  |  |  |  |  |  |  |  |  |  |  | 30,832 |  | 30,832 |  |  | 131,707 |  | 199,723 |  |  |  |  |  |  |  |
Impairment of goodwill and intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 7,700 | 49,882 |  | 8,304 |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash and bank balance |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 86,882 |  |  | $ 13,412 |  |  |  |  |
Accounts receivable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 38,351 |  |  | 5,920 |  |  |  |  |
Prepayments deposits and other current asset |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,891 |  |  | 292 |  |  |  |  |
Property and equipment, net |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,477 |  |  | 537 |  |  |  |  |
Other non-current assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 5,530 |  |  | 854 |  |  |  |  |
Accounts payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (42,033) |  |  | (6,489) |  |  |  |  |
Accrued expenses and other current liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (14,994) |  |  | (2,315) |  |  |  |  |
Other non-current liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (10,028) |  |  | (1,548) |  |  |  |  |
Deferred tax liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (31,012) |  |  | (4,787) |  |  |  |  |
Goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 348,910 |  |  | 53,862 |  |  |  |  |
Total fair value of purchase price consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 440,306 |  |  | 67,972 |  |  |  |  |
Fair value of noncontrolling interests |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 62,224 |  |  | 9,606 |  |  |  |  |
MobPartner |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership percentage acquired (as a percent) |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |  |  |
Cash consideration |  |  |  |  |  |  |  |  |  |  | $ 42,256 | ¥ 273,726 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Equity consideration |  |  |  |  |  |  |  |  |  |  | 3,598 | 23,309 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent consideration in cash |  |  |  |  |  |  |  |  |  |  | 2,656 | 17,202 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total consideration |  |  |  |  |  |  |  |  |  |  | 48,510 | 314,237 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash consideration paid |  |  |  |  |  |  |  |  |  |  | 23,301 | 150,938 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash consideration paid to an unconditional escrowed account |  |  |  |  |  |  |  |  |  |  | 18,955 | ¥ 122,788 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent consideration amount capped |  |  |  |  |  |  |  |  |  |  | 8,791 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 56,949 |  |  |
Contingent consideration settled |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 1,499 | ¥ 9,711 |  |  |  |  |  |
Loss (gain) from change in fair value of contingent consideration liability |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,303 | 8,439 |  |  |  |  |  |  |  |  |  |  |  |
Revenue from acquiree |  |  |  |  |  |  |  |  |  |  |  |  |  | 23,936 | ¥ 155,053 |  |  |  |  |  |  |  |  |  |  |  |  |  |
Gains (losses) from acquiree |  |  |  |  |  |  |  |  |  |  |  |  |  | (6,222) | ¥ (40,305) |  |  |  |  |  |  |  |  |  |  |  |  |  |
Pro forma revenue |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 578,136 | 3,745,048 |  |  |  |  |  |  |  |  |  |  |  |
Pro forma net income |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 26,698 | 172,947 |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash and bank balance |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 60,150 |  |  |
Accounts receivable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 37,308 |  |  |
Prepayments deposits and other current asset |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,091 |  |  |
Property and equipment, net |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,207 |  |  |
Other non-current assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 465 |  |  |
Accounts payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (41,774) |  |  |
Accrued expenses and other current liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (7,633) |  |  |
Other non-current liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (10,028) |  |  |
Deferred tax liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (29,117) |  |  |
Goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 215,208 |  |  |
Total fair value of purchase price consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 314,237 |  |  |
Moxiu Technology |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership percentage acquired (as a percent) | 1.60% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1.60% |  |  |  |
Cash consideration | $ 3,859 | ¥ 25,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of previously held equity interests | 9,801 | 63,488 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total consideration | 13,660 | 88,488 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Revaluation gain of equity interest | 2,320 | ¥ 15,030 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of noncontrolling interests | $ 9,606 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 62,224 |  |  |  |
Voting rights percentage obtained after the additional acquisition | 52.10% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 52.10% |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash and bank balance |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 26,732 |  |  |  |
Accounts receivable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,043 |  |  |  |
Prepayments deposits and other current asset |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 767 |  |  |  |
Property and equipment, net |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2,270 |  |  |  |
Other non-current assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 5,065 |  |  |  |
Accounts payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (259) |  |  |  |
Accrued expenses and other current liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (7,361) |  |  |  |
Deferred tax liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (1,895) |  |  |  |
Goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 111,720 |  |  |  |
Total fair value of purchase price consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 88,488 |  |  |  |
Fair value of noncontrolling interests |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 62,224 |  |  |  |
Online Lottery Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash consideration |  |  |  |  |  |  | ¥ 27,000 |  |  |  |  |  |  |  |  |  |  |  | 27,000 |  |  |  |  |  |  |  |  |  |
Contingent consideration in cash |  |  |  |  |  |  | 3,963 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Less: Prepaid employee compensation |  |  |  |  |  |  | (4,300) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total consideration |  |  |  |  |  |  | 26,663 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent consideration settled |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,497 |  | 1,497 |  |  |  |  | 9,698 |  |  |  |  |  |  |  |
Annual upper limit of contingent consideration |  |  |  |  |  |  | ¥ 13,500 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of employees of acquiree that prepaid employee compensation was paid for post-acquisition services | employee |  |  |  |  |  |  | 2 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Period under which the employees of acquiree that prepaid employee compensation was paid to perform post-acquisition services |  |  |  |  |  |  | 4 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Impairment of goodwill and intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,820 | 24,748 |  | 0 |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Property and equipment, net |  |  |  |  |  |  | ¥ 817 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  |  |  | 23,746 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total fair value of purchase price consideration |  |  |  |  |  |  | 26,663 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Online Lottery Business | Changes in fair value of contingent consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss (gain) from change in fair value of contingent consideration liability |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (402) | (2,606) |  | 8,342 |  |  |  |  |  |  |  |  |  |
HK Zoom |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership percentage acquired (as a percent) |  |  |  |  | 100.00% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 100.00% |
Cash consideration |  |  |  |  |  | ¥ 123,284 |  |  |  |  |  |  | $ 20,000 |  |  |  |  |  | 123,284 |  |  |  |  |  |  |  |  |  |
Contingent consideration in cash |  |  |  |  |  | 28,990 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total consideration |  |  |  |  |  | 152,274 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent consideration settled |  |  |  |  |  |  |  |  |  |  |  |  |  | 2,831 |  | 2,831 |  |  | 0 |  | 18,340 |  |  |  |  |  |  |  |
Total consideration |  |  |  |  | $ 24,703 | ¥ 152,274 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Annual upper limit of contingent consideration | $ |  |  |  |  | $ 3,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of contingent consideration |  |  |  |  |  |  |  |  |  |  |  |  |  | 2,838 |  | 2,838 |  |  | 32,416 |  | 18,383 |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash and bank balance |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 13,768 |
Accounts receivable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11,170 |
Prepayments deposits and other current asset |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 39,659 |
Property and equipment, net |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 132 |
Accrued expenses and other current liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (56,408) |
Deferred tax liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | (11,072) |
Goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 87,925 |
Total fair value of purchase price consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 152,274 |
HK Zoom | Changes in fair value of contingent consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Loss (gain) from change in fair value of contingent consideration liability |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 514 | 3,328 |  | 3,652 |  |  |  |  |  |  |  |  |  |
Youloft HK |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Ownership percentage acquired (as a percent) |  |  |  | 51.90% |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash consideration |  |  |  | ¥ 102,390 |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 16,600 | 102,390 |  |  |  |  |  |  |  |  |  |
Less: Prepaid employee compensation |  |  |  | (14,735) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total consideration |  |  |  | 87,655 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total consideration |  |  | $ 14,211 | 87,655 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayments deposits and other current asset |  |  |  | 24,672 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  | (7,124) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  | 98,481 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total fair value of purchase price consideration |  |  |  | 87,655 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of noncontrolling interests |  |  |  | 71,550 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Youloft HK | Prepayments and other current assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Less: Prepaid employee compensation |  |  |  | (5,702) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Youloft HK | Other Noncurrent Assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Less: Prepaid employee compensation |  |  |  | (9,033) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Antutu Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash consideration |  |  |  |  |  |  |  |  |  | ¥ 12,000 |  |  |  |  |  |  | 12,000 |  |  |  |  |  |  |  |  |  |  |  |
Total consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 12,000 |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 8,467 |  |  |  |  |  |  |  |
Total fair value of purchase price consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 12,000 |  |  |  |  |  |  |  |
Photo Grid Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash consideration |  |  |  |  |  |  |  | $ 6,600 |  |  |  |  |  |  |  |  | 40,785 |  |  |  |  |  |  |  |  |  |  |  |
Contingent consideration in cash |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11,167 |  |  |  |  |  |  |  |  |  |  |  |
Total consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 51,952 |  |  |  |  |  |  |  |  |  |  |  |
Contingent consideration settled |  |  |  |  |  |  |  |  |  |  |  |  |  | 755 |  | 755 |  |  | 4,923 |  | 4,892 |  |  |  |  |  |  |  |
Loss (gain) from change in fair value of contingent consideration liability |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 109 | 707 |  | 1,755 | ¥ 971 |  |  |  |  |  |  |  |  |
Annual upper limit of contingent consideration | $ |  |  |  |  |  |  |  | $ 800 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of contingent consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 11,167
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 31,528 |  |  |  |  |  |  |  |
Total fair value of purchase price consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 51,952 |  |  |  |  |  |  |  |
Photo Grid Business | Accrued Expenses And Other Current Liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of contingent consideration |  |  |  |  |  |  |  |  |  |  |  |  |  | 765 |  | 765 |  |  | ¥ 8,870 |  | 4,955 |  |  |  |  |  |  |  |
2014 acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash and bank balance |  |  |  | 13,768 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Accounts receivable |  |  |  | 11,170 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayments deposits and other current asset |  |  |  | 64,331 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Property and equipment, net |  |  |  | 949 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Accrued expenses and other current liabilities |  |  |  | (56,408) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Deferred tax liabilities |  |  |  | (18,196) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  | 210,152 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total fair value of purchase price consideration |  |  |  | 266,592 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of noncontrolling interests |  |  |  | 71,550 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
2013 acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 52,785 |  |  |  |  |  |  |  |  |  |  |  |
Contingent consideration in cash |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11,167 |  |  |  |  |  |  |  |  |  |  |  |
Total consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 63,952 |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 39,995 |  |  |  |  |  |  |  |
Total fair value of purchase price consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 63,952 |  |  |  |  |  |  |  |
Other acquisitions |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Total consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 5,802 | ¥ 37,581 |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Prepayments deposits and other current asset |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 33 |  |  |  |  |  |  |  |
Goodwill |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 21,982 |  |  |  |  |  |  |  |
Total fair value of purchase price consideration |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 37,581 |  |  |  |  |  |  |  |
Settlements in March 2016 | MobPartner | Accrued Expenses And Other Current Liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration deferred payments |  |  |  |  |  |  |  |  |  |  | 10,825 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 70,124 |  |  |
Settlements in March 2017 | MobPartner | Other Noncurrent Liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration deferred payments |  |  |  |  |  |  |  |  |  |  | 7,656 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 49,592 |  |  |
Settlements in January 2019 | MobPartner | Other Noncurrent Liabilities |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Consideration deferred payments |  |  |  |  |  |  |  |  |  |  | $ 474 |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 3,072 |  |  |
Trademark |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 19,515 |  |  | 3,013 |  |  |  |  |
Trademark | MobPartner |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 13,515 |  |  |
Trademark | Moxiu Technology |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 6,000 |  |  |  |
Trademark | Antutu Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 150 |  |  |  |  |  |  |  |
Trademark | 2013 acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 150 |  |  |  |  |  |  |  |
Technology |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 13,772 |  |  | 2,126 |  |  |  |  |
Technology | Moxiu Technology |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 6,200 |  |  |  |
Technology | Online Lottery Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  | 1,700 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Technology | HK Zoom |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 36,000 |
Technology | Youloft HK |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  | 15,420 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Technology | Antutu Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1,000 |  |  |  |  |  |  |  |
Technology | Photo Grid Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 9,270 |  |  |  |  |  |  |  |
Technology | 2014 acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  | 53,120 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Technology | 2013 acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 10,270 |  |  |  |  |  |  |  |
Technology | Other acquisitions |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 7,572 |  |  |  |  |  |  |  |
User base |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 8,424 |  |  | 1,300 |  |  |  |  |
User base | Moxiu Technology |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 430 |  |  |  |
User base | Online Lottery Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  | ¥ 400 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
User base | Youloft HK |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  | 27,756 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
User base | 2014 acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  | 28,156 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
User base | Other acquisitions |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 7,994 |  |  |  |  |  |  |  |
Customer relationship |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 6,266 |  |  | 967 |  |  |  |  |
Customer relationship | MobPartner |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 6,266 |  |  |
Customer relationship | HK Zoom |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 31,100 |
Customer relationship | Antutu Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 2,383 |  |  |  |  |  |  |  |
Customer relationship | Photo Grid Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 11,154 |  |  |  |  |  |  |  |
Customer relationship | 2014 acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  | ¥ 31,100 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Customer relationship | 2013 acquisition |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 13,537 |  |  |  |  |  |  |  |
Platform |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 67,579 |  |  | $ 10,432 |  |  |  |  |
Platform | MobPartner |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Intangible assets |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 67,579 |  |  |
Restricted shares | HK Zoom |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares issued (in shares) | shares |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 807,950 | 807,950 | 0 | 0 |  |  |  |  |  |  |  |  |  |
Number of ADs issued as part of business combination | shares |  |  |  |  | 2,431,775 | 2,431,775 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Restricted shares | Antutu Business |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of ADs issued as part of business combination | shares |  |  |  |  |  |  |  |  |  | 2,750,000 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Allocation of purchase price |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Fair value of ADs issued as part of business combination (in dollars per share) | $ / shares |  |  |  |  |  |  |  |  | $ 0.39 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Forfeiture period of restricted shares granted as part of business combination |  |  |  |  |  |  |  |  |  | 3 years |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Suzhou JDD |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contingent consideration in cash | $ |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 0 |  |  |  |  |  |  |  |  |  |  |  |  |
Suzhou JDD | Online Lottery Business | Capital contribution agreement | An entity wholly owned by the seller of an acquiree of the Company |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Number of seller of an acquiree of the Company that wholly owned an entity with which the capital contribution agreement was entered into | item |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 1 |  |
Contribution required pursuant to capital contribution agreement |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ¥ 13,500 |  |
Equity interest expected to be exchanged pursuant to capital contribution agreement (as a percent) |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | 25.00% |  |
Contribution made by related party pursuant to capital contribution agreement |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 521 |  | $ 521 |  |  | ¥ 6,750 |  | ¥ 3,375 |  |  |  |  |  |  |  |
Equity interest exchanged pursuant to capital contribution agreement (as a percent) |  |  |  |  |  |  |  |  |  |  |  |  |  | 5.70% |  | 5.70% |  |  | 14.30% |  | 5.70% |  |  |  |  |  |  |  |
Suzhou JDD | Online Lottery Business | Capital contribution agreement | An entity wholly owned by the seller of an acquiree of the Company | Noncontrolling interest |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contribution made by related party pursuant to capital contribution agreement |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 261 |  | $ 261 |  |  | ¥ 6,090 |  | ¥ 1,689 |  |  |  |  |  |  |  |
Suzhou JDD | Online Lottery Business | Capital contribution agreement | An entity wholly owned by the seller of an acquiree of the Company | Additional Paid-in Capital |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Contribution made by related party pursuant to capital contribution agreement |  |  |  |  |  |  |  |  |  |  |  |  |  | $ 260 |  | $ 260 |  |  | ¥ 660 |  | ¥ 1,686 |  |  |  |  |  |  |  |
Class A Ordinary shares | MobPartner |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Business Combination |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Shares issued (in shares) | shares |  |  |  |  |  |  |  |  |  |  | 2,173,039 | 2,173,039 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |

X
- Definition Amount of cash consideration paid to other than an unconditional escrowed account. + References No definition available. + Details
Name: | cmcm_BusinessCombinationCashConsiderationPaid
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash consideration paid to an unconditional escrowed account, which will be settled on a deferred basis. + References No definition available. + Details
Name: | cmcm_BusinessCombinationCashConsiderationPaidToUnconditionalEscrowedAccount
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represented consideration paid for post-acquisition services to be provided by employees of the acquiree pursuant to the acquisition agreement. + References No definition available. + Details
Name: | cmcm_BusinessCombinationConsiderationPrepaidEmployeeCompensation
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount before adjustments of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References No definition available. + Details
Name: | cmcm_BusinessCombinationConsiderationTransferred1BeforeAdjustment
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition For contingent consideration arrangements recognized in connection with a business combination, this element represents an estimate of the high-end of the potential annual range of the consideration which may be paid. + References No definition available. + Details
Name: | cmcm_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesAnnualValueHigh
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of accrued expenses and other current liabilities, assumed at the acquisition date. + References No definition available. + Details
Name: | cmcm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherCurrentLiabilities
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of goodwill acquired, at the acquisition date. + References No definition available. + Details
Name: | cmcm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of asset related to prepayments deposits and other receivables acquired at the acquisition date. + References No definition available. + Details
Name: | cmcm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPrepaymentsDepositsAndOtherReceivables
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of deferred payments for business combination consideration. + References No definition available. + Details
Name: | cmcm_BusinessCombinationsConsiderationDeferredPayments
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the contribution made by related party pursuant to capital contribution agreement. + References No definition available. + Details
Name: | cmcm_ContributionMadePursuantToCapitalContributionAgreement
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the contribution required pursuant to capital contribution agreement. + References No definition available. + Details
Name: | cmcm_ContributionRequiredPursuantToCapitalContributionAgreement
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents the equity interest expected to be exchanged pursuant to capital contribution agreement. + References No definition available. + Details
Name: | cmcm_EquityInterestExpectedToBeExchangedPursuantToCapitalContributionAgreement
Namespace Prefix: | cmcm_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the gain (loss) on revaluation of equity interest in equity method investee. + References No definition available. + Details
Name: | cmcm_GainLossOnRevaluationOfEquityMethodInvestment
Namespace Prefix: | cmcm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Represents the number of employees of the acquiree that prepaid employee compensation was paid for post-acquisition services. + References No definition available. + Details
Name: | cmcm_NumberOfEmployeesOfAcquireeThatPrepaidEmployeeCompensationWasPaidForPostAcquisitionServices
Namespace Prefix: | cmcm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the number of seller of an acquiree of the Company that wholly owned an entity with which the capital contribution agreement was entered into. + References No definition available. + Details
Name: | cmcm_NumberOfSellerOfAcquireeThatWhollyOwnedEntityWithWhichCapitalContributionAgreementWasEnteredInto
Namespace Prefix: | cmcm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the period under which the employees of acquiree that prepaid employee compensation was paid to perform post-acquisition services. + References No definition available. + Details
Name: | cmcm_PeriodUnderWhichEmployeesOfAcquireeThatPrepaidEmployeeCompensationWasPaidToPerformPostAcquisitionServices
Namespace Prefix: | cmcm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Forfeiture period for equity-based awards excluding options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | cmcm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeiturePeriod
Namespace Prefix: | cmcm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of equity interests issued or issuable to acquire entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(4) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of voting equity interests acquired at the acquisition date in the business combination. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956515&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount paid or received to resolve the preacquisition contingency. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 2 -Section A -Subsection 7 + Details
Name: | us-gaap_BusinessAcquisitionPreacquisitionContingencyAmountOfSettlement
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2)-(3) -URI http://asc.fasb.org/extlink&oid=56956515&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2)-(3) -URI http://asc.fasb.org/extlink&oid=56956515&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the fair value of the noncontrolling interest in the acquiree at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e)(1) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationAcquisitionOfLessThan100PercentNoncontrollingInterestFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of liabilities incurred by the acquirer as part of consideration transferred in a business combination. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6405-128476 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 4 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e7008-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition For contingent consideration arrangements recognized in connection with a business combination, this element represents an estimate of the high-end of the potential range (undiscounted) of the consideration which may be paid. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of liability recognized arising from contingent consideration in a business combination. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 35 -Paragraph 1 -Subparagraph b -URI http://asc.fasb.org/extlink&oid=6911338&loc=d3e6819-128478 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This element represents the amount of earnings or loss of the acquiree since the acquisition date included in the consolidated income statement for the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -URI http://asc.fasb.org/extlink&oid=56956515&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This element represents the amount of revenue of the acquiree since the acquisition date included in the consolidated income statement for the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1) -URI http://asc.fasb.org/extlink&oid=56956515&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred tax liability attributable to taxable temporary differences due after one year or the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilitiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of identifiable intangible assets recognized as of the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=35744172&loc=d3e2207-128464 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other liabilities due after one year or the normal operating cycle, if longer, assumed at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of property, plant, and equipment recognized as of the acquisition date. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=35744172&loc=d3e2207-128464 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=56956791&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value at acquisition-date of the equity interest in the acquiree held by the acquirer, immediately before the acquisition date for businesses combined in stages. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (g)(1) -URI http://asc.fasb.org/extlink&oid=56956515&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeFairValue1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of voting equity interests acquired in a business combination achieved in stages, including equity interests in the acquiree held by the acquirer immediately before the acquisition date and acquired at the acquisition date. + References No definition available. + Details
Name: | us-gaap_BusinessCombinationStepAcquisitionEquityInterestInAcquireeIncludingSubsequentAcquisitionPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=35755396&loc=d3e33749-111570 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_EquityMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Total loss recognized during the period from the impairment of goodwill plus the loss recognized in the period resulting from the impairment of the carrying amount of intangible assets, other than goodwill. + References No definition available. + Details
Name: | us-gaap_GoodwillAndIntangibleAssetImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.31) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 27 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 20 -Article 7 + Details
Name: | us-gaap_MinorityInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The equity interest of noncontrolling shareholders, partners or other equity holders in consolidated entity. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Investing Activities -URI http://asc.fasb.org/extlink&oid=6516133 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=56944662&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_MobPartnerSasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_MoxiuTechnologyBeijingCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_OnlineLotteryBusinessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_HkZoomBusinessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_YouloftHkMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_AntutuBusinessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_PhotoGridBusinessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=cmcm_AccruedExpensesAndOtherCurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_AcquisitionsMadeIn2014Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_AcquisitionMadeIn2013Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=cmcm_OtherAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=cmcm_DeferredPaymentsSettledInMarch2016Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=cmcm_DeferredPaymentsSettlementInMarch2017Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=cmcm_DeferredPaymentsSettlementInJanuary2019Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TrademarksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TechnologyBasedIntangibleAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=cmcm_UserBaseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=cmcm_PlatformMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | dei_LegalEntityAxis=cmcm_SuzhouJiangduoduoTechnologyCoLtdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=cmcm_CapitalContributionAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=cmcm_EntityWhollyOwnedBySellerOfAcquireeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_NoncontrollingInterestMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |