XML 15 R5.htm IDEA: XBRL DOCUMENT
v3.7.0.1

CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE INCOME (Parenthetical) ¥ in Thousands, $ in Thousands | 12 Months Ended |
--- | --- | ---
Dec. 31, 2016 CNY (¥) | Dec. 31, 2016 USD ($) | Dec. 31, 2015 CNY (¥) | Dec. 31, 2014 CNY (¥) | Nov. 21, 2012
Share-based compensation | ¥ 157,286 | $ 22,654 | ¥ 185,372 | ¥ 134,632 |
Cost of revenues [Member] |  |  |  |  |
Share-based compensation | 15,894 | 2,289 | 23,963 | 18,037 |
Research and development expenses [Member] |  |  |  |  |
Share-based compensation | 78,816 | 11,352 | 70,951 | 54,141 |
Sales and marketing expenses [Member] |  |  |  |  |
Share-based compensation | 3,107 | 448 | 3,283 | 2,807 |
General and administrative expenses [Member] |  |  |  |  |
Share-based compensation | ¥ 59,469 | $ 8,565 | ¥ 87,175 | ¥ 59,647 |
Class A common shares [Member] |  |  |  |  |
Number of common shares represented by each ADS | 20 | 20 | 20 | 20 | 20

X
- Definition The number of underlying shares represented by one American Depository Receipt (ADR) or Global Depository Receipt (GDR). A value of "3" means that one ADR represents 3 underlying shares. If one underlying share represents 2 ADR's then the value would be represented as "0.5". + References No definition available. + Details
Name: | dei_EntityListingDepositoryReceiptRatio
Namespace Prefix: | dei_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition The aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=66902209&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

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

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

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