| Dec 31, 2013 | Dec 31, 2014 | Dec 31, 2015 | Dec 31, 2016 | Dec 31, 2017 | Dec 31, 2018 | Dec 31, 2019 | Dec 31, 2022 | Dec 31, 2023 |
|---|
| Net loss | 299 | 253 | -15 | -170 | 22 | -115 | -10 | -76 | -180 |
|---|
| Share-based compensation | 7 | 5 | 4 | 7 | 7 | 14 | 9 | 1 | 0 |
|---|
| Depreciation | 10 | 12 | 15 | 25 | 28 | - | 25 | 23 | 22 |
|---|
| Amortization of right-of-use assets | - | - | - | - | - | - | - | 2 | 2 |
|---|
| Deferred tax benefits | - | - | - | - | - | - | - | -11 | -32 |
|---|
| Net allowance for credit loss for accounts receivable, loans receivable and other current assets | - | - | - | - | - | - | - | 50 | 30 |
|---|
| Impairment of property and equipment and land use-right | - | - | - | - | - | - | - | - | 151 |
|---|
| Impairment of investment | - | - | - | 2 | 3 | - | - | 0 | - |
|---|
| Investment income | - | - | 1 | 3 | 7 | 7 | 3 | 1 | 2 |
|---|
| Change in fair value of securities | - | - | - | - | - | - | - | 1 | -2 |
|---|
| Amortization of transaction costs for structured note | - | - | - | - | - | - | - | 0 | - |
|---|
| Loss (gain) on disposal of property and equipment | - | - | - | -1 | -6 | -1 | -2 | 0 | 0 |
|---|
| Deemed Rental Expense | - | - | - | - | - | - | - | 0 | 0 |
|---|
| Accounts receivable | 25 | 23 | 119 | -16 | 0 | 18 | 19 | 31 | -8 |
|---|
| Prepayments and other current assets | 12 | -9 | 35 | -17 | -9 | -3 | 5 | 11 | 3 |
|---|
| Loans receivable | - | - | - | -215 | -31 | - | - | -48 | -15 |
|---|
| Amounts due from related parties | - | - | 0 | -0 | 0 | -0 | 0 | 3 | -3 |
|---|
| Other non-current assets | -0 | 4 | -2 | 0 | -6 | 3 | 1 | 1 | -5 |
|---|
| Deferred revenue | 46 | 4 | 33 | -7 | 30 | 13 | 13 | -2 | 6 |
|---|
| Accrued expenses and other liabilities | 41 | 50 | 106 | -18 | -39 | -43 | 3 | 9 | -14 |
|---|
| Income tax payable | 6 | 15 | 29 | -3 | -2 | -0 | 1 | -1 | 1 |
|---|
| Amounts due to related parties | - | - | - | - | - | - | 0 | -0 | - |
|---|
| Other non-current liabilities | -0 | -0 | -0 | 0 | 1 | 3 | -7 | -13 | -24 |
|---|
| Net cash generated from (used in) operating activities | 408 | - | - | - | 127 | 55 | 69 | -16 | -10 |
|---|
| Proceeds from Sale of Short-Term Investments | - | - | - | - | - | - | - | 63 | 56 |
|---|
| Proceeds from disposal of equity investments | - | - | - | - | - | - | - | - | 23 |
|---|
| Proceeds from disposal of property and equipment | 0 | 0 | 1 | 1 | 6 | 0 | 0 | 0 | 0 |
|---|
| Acquisition of property and equipment | 7 | 8 | 45 | 25 | 66 | 96 | 12 | 11 | 1 |
|---|
| Acquisition of short-term investments | - | - | - | - | 383 | 722 | 250 | 5 | 55 |
|---|
| Acquisition of long-term investments and time deposits | - | 119 | 127 | 5 | 13 | 85 | 44 | 18 | 16 |
|---|
| Proceeds From Advance For Purchase Properties | - | - | - | - | - | - | - | 10 | 6 |
|---|
| Proceeds from dividend distribution from equity investments | - | - | - | - | - | - | - | 0 | 1 |
|---|
| Cash repayments to related parties | - | - | - | - | - | - | - | - | 56 |
|---|
| Net cash generated from (used in) investing activities | -40 | - | - | - | -285 | -107 | -57 | 71 | -42 |
|---|
| Proceeds from Stock Options Exercised | 26 | 12 | 8 | 2 | 5 | 3 | 0 | 0 | - |
|---|
| Proceeds from short-term loans | - | - | 73 | 297 | - | 36 | 2 | - | 1 |
|---|
| Proceeds from long-term loans | 100 | - | - | 68 | 111 | 67 | 71 | - | 127 |
|---|
| Repayment of loans | 181 | 90 | 154 | 182 | 44 | 27 | 44 | 341 | 44 |
|---|
| Repayment of bonds | - | - | - | - | - | - | - | - | 51 |
|---|
| Redemption of convertible senior notes | - | - | - | 394 | - | 45 | 83 | - | - |
|---|
| Net cash (used in) generated from financing activities | 87 | - | - | - | 34 | 35 | -74 | -341 | 33 |
|---|
| Exchange rate effect on cash, cash equivalents and restricted cash | - | - | - | - | - | -27 | -19 | -1 | -1 |
|---|
| Net increase (decrease) in cash, cash equivalents and restricted cash | - | - | - | - | - | -44 | -81 | -288 | -20 |
|---|
| Income tax paid | 39 | 12 | 7 | 7 | 8 | 8 | 10 | 38 | 5 |
|---|
| Interest paid | - | - | - | - | 17 | 12 | 21 | 8 | 13 |
|---|
| Recognition of operating right-of-use assets | - | - | - | - | - | - | - | 1 | 0 |
|---|