Entity Common Stock, Shares Outstanding
|
DEI
|
Accounts Payable, Trade, Current
|
US-GAAP
|
Accrual for Taxes Other than Income Taxes, Current
|
US-GAAP
|
Accrued Liabilities and Other Liabilities
|
US-GAAP
|
Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment
|
US-GAAP
|
Accumulated Other Comprehensive Income (Loss), Net of Tax
|
US-GAAP
|
Additional Paid in Capital
|
US-GAAP
|
APIC, Share-based Payment Arrangement, Increase for Cost Recognition
|
US-GAAP
|
Adjustments to Additional Paid in Capital, Stock Issued, Issuance Costs
|
US-GAAP
|
Advertising Expense
|
US-GAAP
|
Share-based Payment Arrangement, Expense
|
US-GAAP
|
Assets
|
US-GAAP
|
Assets, Current
|
US-GAAP
|
Cash and Cash Equivalents, at Carrying Value
|
US-GAAP
|
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents
|
US-GAAP
|
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect
|
US-GAAP
|
Common Stock, Par or Stated Value Per Share
|
US-GAAP
|
Common Stock, Shares Authorized
|
US-GAAP
|
Common Stock, Shares, Issued
|
US-GAAP
|
Common Stock, Shares, Outstanding
|
US-GAAP
|
Common Stock, Value, Issued
|
US-GAAP
|
Comprehensive Income (Loss), Net of Tax, Attributable to Parent
|
US-GAAP
|
Contract with Customer, Liability
|
US-GAAP
|
Contract with Customer, Liability, Current
|
US-GAAP
|
Contract with Customer, Liability, Noncurrent
|
US-GAAP
|
Contract with Customer, Refund Liability
|
US-GAAP
|
Contract with Customer, Refund Liability, Current
|
US-GAAP
|
Cost of Revenue
|
US-GAAP
|
Deferred Tax Assets, Gross
|
US-GAAP
|
Deferred Tax Assets, Operating Loss Carryforwards, Foreign
|
US-GAAP
|
Deferred Tax Assets, Property, Plant and Equipment
|
US-GAAP
|
Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Accrued Liabilities
|
US-GAAP
|
Deferred Tax Assets, Valuation Allowance
|
US-GAAP
|
Defined Contribution Plan, Cost
|
US-GAAP
|
Deposits Assets, Current
|
US-GAAP
|
Depreciation
|
US-GAAP
|
Due from Related Parties
|
US-GAAP
|
Earnings Per Share, Basic and Diluted
|
US-GAAP
|
Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents
|
US-GAAP
|
Employee-related Liabilities, Current
|
US-GAAP
|
Share-based Payment Arrangement, Nonvested Award, Option, Cost Not yet Recognized, Amount
|
US-GAAP
|
Foreign Currency Exchange Rate, Translation
|
US-GAAP
|
Foreign Currency Transaction Gain (Loss), before Tax
|
US-GAAP
|
Foreign Currency Transaction Gain (Loss), Unrealized
|
US-GAAP
|
General and Administrative Expense
|
US-GAAP
|
Gross Profit
|
US-GAAP
|
Impairment of Long-Lived Assets Held-for-use
|
US-GAAP
|
Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Amount
|
US-GAAP
|
Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, Nondeductible Expense, Amount
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, Tax Credit, Foreign, Amount
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, Tax Credit, Research, Amount
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, Tax Holiday, Amount
|
US-GAAP
|
Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities
|
US-GAAP
|
Increase (Decrease) in Contract with Customer, Liability
|
US-GAAP
|
Increase (Decrease) in Other Noncurrent Assets
|
US-GAAP
|
Increase (Decrease) in Prepaid Expense and Other Assets
|
US-GAAP
|
Interest Expense
|
US-GAAP
|
Interest Paid, Excluding Capitalized Interest, Operating Activities
|
US-GAAP
|
Investment Income, Interest
|
US-GAAP
|
Lease, Cost
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Year One
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Year Five
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Year Four
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Year Three
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid, Year Two
|
US-GAAP
|
Lessee, Operating Lease, Liability, Undiscounted Excess Amount
|
US-GAAP
|
Liabilities
|
US-GAAP
|
Liabilities and Equity
|
US-GAAP
|
Liabilities, Current
|
US-GAAP
|
Net Cash Provided by (Used in) Financing Activities
|
US-GAAP
|
Net Cash Provided by (Used in) Investing Activities
|
US-GAAP
|
Net Cash Provided by (Used in) Operating Activities
|
US-GAAP
|
Net Income (Loss) Attributable to Parent
|
US-GAAP
|
Net Income (Loss) Available to Common Stockholders, Basic
|
US-GAAP
|
Noncash or Part Noncash Acquisition, Fixed Assets Acquired
|
US-GAAP
|
Number of Operating Segments
|
US-GAAP
|
Number of Reportable Segments
|
US-GAAP
|
Operating Expenses
|
US-GAAP
|
Operating Income (Loss)
|
US-GAAP
|
Operating Lease, Cost
|
US-GAAP
|
Operating Lease, Liability
|
US-GAAP
|
Operating Lease, Liability, Current
|
US-GAAP
|
Operating Lease, Liability, Noncurrent
|
US-GAAP
|
Operating Lease, Payments
|
US-GAAP
|
Operating Lease, Right-of-Use Asset
|
US-GAAP
|
Operating Lease, Weighted Average Discount Rate, Percent
|
US-GAAP
|
Other Assets, Miscellaneous, Noncurrent
|
US-GAAP
|
Other Assets, Noncurrent
|
US-GAAP
|
Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax, Portion Attributable to Parent
|
US-GAAP
|
Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax
|
US-GAAP
|
Other Nonoperating Income
|
US-GAAP
|
Other Prepaid Expense, Current
|
US-GAAP
|
Payments for Repurchase of Common Stock
|
US-GAAP
|
Payments for Repurchase of Convertible Preferred Stock
|
US-GAAP
|
Payments to Acquire Property, Plant, and Equipment
|
US-GAAP
|
Payments to Acquire Short-term Investments
|
US-GAAP
|
Preferred Stock, Accretion of Redemption Discount
|
US-GAAP
|
Prepaid Advertising
|
US-GAAP
|
Prepaid Expense and Other Assets, Current
|
US-GAAP
|
Prepaid Rent
|
US-GAAP
|
Proceeds from Issuance Initial Public Offering
|
US-GAAP
|
Proceeds from Issuance of Redeemable Convertible Preferred Stock
|
US-GAAP
|
Proceeds from Maturities, Prepayments and Calls of Short-term Investments
|
US-GAAP
|
Proceeds from Short-term Debt
|
US-GAAP
|
Proceeds from Stock Options Exercised
|
US-GAAP
|
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest
|
US-GAAP
|
Property, Plant and Equipment, Gross
|
US-GAAP
|
Property, Plant and Equipment, Net
|
US-GAAP
|
Related Party Transaction, Due from (to) Related Party
|
US-GAAP
|
Related Party Transaction, Due from (to) Related Party, Current
|
US-GAAP
|
Repayments of Short-term Debt
|
US-GAAP
|
Research and Development Expense
|
US-GAAP
|
Restricted Cash, Current
|
US-GAAP
|
Retained Earnings (Accumulated Deficit)
|
US-GAAP
|
Revenue from Contract with Customer, Excluding Assessed Tax
|
US-GAAP
|
Right-of-Use Asset Obtained in Exchange for Operating Lease Liability
|
US-GAAP
|
Selling and Marketing Expense
|
US-GAAP
|
Share-based Payment Arrangement, Noncash Expense
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Expirations in Period
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Period Increase (Decrease), Weighted Average Exercise Price
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Aggregate Intrinsic Value
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price
|
US-GAAP
|
Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price
|
US-GAAP
|
Share-based Compensation Arrangements by Share-based Payment Award, Options, Expirations in Period, Weighted Average Exercise Price
|
US-GAAP
|
Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price
|
US-GAAP
|
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, Weighted Average Grant Date Fair Value
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Option, Nonvested, Weighted Average Exercise Price
|
US-GAAP
|
Short-term Debt
|
US-GAAP
|
Short-term Lease, Cost
|
US-GAAP
|
Statutory Accounting Practices, Statutory Capital and Surplus Required
|
US-GAAP
|
Stockholders' Equity Attributable to Parent
|
US-GAAP
|
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period
|
US-GAAP
|
Stock Issued During Period, Value, Conversion of Convertible Securities, Net of Adjustments
|
US-GAAP
|
Stock Issued During Period, Value, New Issues
|
US-GAAP
|
Shares Issued, Value, Share-based Payment Arrangement, after Forfeiture
|
US-GAAP
|
Stock Issued During Period, Value, Stock Options Exercised
|
US-GAAP
|
Stock Redeemed or Called During Period, Value
|
US-GAAP
|
Temporary Equity, Accretion to Redemption Value, Adjustment
|
US-GAAP
|
Temporary Equity, Carrying Amount, Attributable to Parent
|
US-GAAP
|
Temporary Equity, Carrying Amount, Including Portion Attributable to Noncontrolling Interests
|
US-GAAP
|
Temporary Equity, Shares Issued
|
US-GAAP
|
Temporary Equity, Shares Outstanding
|
US-GAAP
|
Temporary Equity, Stock Issued During Period, Value, New Issues
|
US-GAAP
|
Unrecognized Tax Benefits that Would Impact Effective Tax Rate
|
US-GAAP
|
Valuation Allowance, Deferred Tax Asset, Increase (Decrease), Amount
|
US-GAAP
|
Value Added Tax Receivable, Current
|
US-GAAP
|
Weighted Average Number of Shares Outstanding, Basic and Diluted
|
US-GAAP
|
Asset Impairment Charges
|
US-GAAP
|
Impairment of Leasehold
|
US-GAAP
|
Operating Lease, Impairment Loss
|
US-GAAP
|
Proceeds from Sale of Property, Plant, and Equipment
|
US-GAAP
|
Accounts Receivable, before Allowance for Credit Loss, Current
|
US-GAAP
|
Accounts Receivable, after Allowance for Credit Loss, Current
|
US-GAAP
|
Allowance for Doubtful Accounts, Premiums and Other Receivables
|
US-GAAP
|
Accounts Receivable, Allowance for Credit Loss, Current
|
US-GAAP
|
Accounts Receivable, Allowance for Credit Loss, Period Increase (Decrease)
|
US-GAAP
|
Debt Securities, Available-for-sale, Current
|
US-GAAP
|
Earnings Per Share, Basic
|
US-GAAP
|
Earnings Per Share, Diluted
|
US-GAAP
|
Gain (Loss) on Disposition of Property Plant Equipment
|
US-GAAP
|
Income Tax Expense (Benefit)
|
US-GAAP
|
Increase (Decrease) in Accounts Receivable
|
US-GAAP
|
Loss Contingency, Loss in Period
|
US-GAAP
|
Other Assets, Current
|
US-GAAP
|
Payments to Acquire Debt Securities, Available-for-sale
|
US-GAAP
|
Accounts Receivable, Credit Loss Expense (Reversal)
|
US-GAAP
|
Treasury Stock, Value
|
US-GAAP
|
Weighted Average Number of Shares Outstanding, Diluted
|
US-GAAP
|
Weighted Average Number of Shares Outstanding, Basic
|
US-GAAP
|
Interest Receivable
|
US-GAAP
|
Lessee, Operating Lease, Liability, to be Paid
|
US-GAAP
|
Proceeds from Sale of Debt Securities, Available-for-sale
|
US-GAAP
|
Short-term Investments
|
US-GAAP
|
Effective Income Tax Rate Reconciliation, Change in Enacted Tax Rate, Amount
|
US-GAAP
|
Proceeds from Issuance of Common Stock
|
US-GAAP
|