Long-term investments - Schedule of Equity Investments, Percentage of Ownership of Common Share (Parenthetical) (Detail) ¥ in Thousands, shares in Thousands, $ in Thousands |
1 Months Ended | 12 Months Ended | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Aug. 31, 2015
USD ($)
shares
|
Apr. 30, 2015
USD ($)
|
Apr. 30, 2015
CNY (¥)
|
May. 31, 2014
USD ($)
item
|
May. 31, 2014
CNY (¥)
item
|
Dec. 31, 2015
USD ($)
Companies
|
Dec. 31, 2015
CNY (¥)
Companies
|
Dec. 31, 2014
USD ($)
|
Dec. 31, 2013
USD ($)
|
|||||||||||
| Schedule of Equity Method Investments [Line Items] | |||||||||||||||||||
| Number of equity investments | Companies | 5 | 5 | |||||||||||||||||
| Diluted gain arising from sale of shares | $ | $ 702 | [1],[2] | $ 449 | [1],[2] | |||||||||||||||
| Impairment loss on long-term investments | $ 802 | ¥ 5,000 | |||||||||||||||||
| Guangzhou Yuechuan [Member] | |||||||||||||||||||
| Schedule of Equity Method Investments [Line Items] | |||||||||||||||||||
| Equity method investments, Percentage of ownership of common share | [1] | 19.13% | 19.13% | 19.13% | |||||||||||||||
| Chengdu Diting [Member] | |||||||||||||||||||
| Schedule of Equity Method Investments [Line Items] | |||||||||||||||||||
| Consideration received by equity method investee | $ 1,627 | ¥ 10,000 | |||||||||||||||||
| Equity method investments, Percentage of ownership of common share | [1] | [1] | 16.58% | 19.90% | |||||||||||||||
| Diluted gain arising from sale of shares | $ 702 | ¥ 4,380 | |||||||||||||||||
| Investments in cost method investment | $ 6,390 | ¥ 39,070 | |||||||||||||||||
| Cost method investments, ownership percentage | [1] | 13.27% | 13.27% | ||||||||||||||||
| Number of board of directors seats of investee to be appointed by Group | item | 1 | 1 | |||||||||||||||||
| Number of board of directors seats of investee | item | 5 | 5 | |||||||||||||||||
| Shenzhen Kushiduo [Member] | |||||||||||||||||||
| Schedule of Equity Method Investments [Line Items] | |||||||||||||||||||
| Investments in cost method investment | $ | $ 39 | ||||||||||||||||||
| Number of shares acquired of cost method investee | shares | 25 | ||||||||||||||||||
| Cost method investments, ownership percentage | 10.00% | 12.50% | [3] | 12.50% | [3] | 10.00% | [3] | ||||||||||||
| |||||||||||||||||||