Prepaid expenses and other current assets [Abstract] Prepaid expenses and other current assets [Abstract] Deferred Sales Commission Deferred Sales Commission, Current Portion Deferred Sales Commission, Current Portion Prepaid expenses Prepaid Expense, Current Other Other Prepaid Expense, Current Prepaid expenses and other current assets Prepaid Expense and Other Assets, Current Segment Reporting [Abstract] Number of operating segments Number of Operating Segments Number of reportable segments Number of Reportable Segments Schedule of Revenues from External Customers and Long-Lived Assets [Table] Schedule of Revenues from External Customers and Long-Lived Assets [Table] Concentration Risk Type [Axis] Concentration Risk Type [Axis] Concentration Risk Type [Domain] Concentration Risk Type [Domain] Geographic Concentration Risk Geographic Concentration Risk [Member] Geographical [Axis] Geographical [Axis] Segment, Geographical [Domain] Geographical [Domain] Americas Americas [Member] Europe, Middle East and Africa EMEA [Member] Asia Pacific Asia Pacific [Member] United States UNITED STATES Revenues from External Customers and Long-Lived Assets [Line Items] Revenues from External Customers and Long-Lived Assets [Line Items] Total net revenues Revenue, Net Revenues from sales Revenues Commitments and Contingencies Disclosure [Abstract] Operating Leases, Future Minimum Payments [Abstract] Operating Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract] 2018 (remaining six months) Operating Leases, Future Minimum Payments Due, Next Twelve Months 2019 Operating Leases, Future Minimum Payments, Due in Two Years 2020 Operating Leases, Future Minimum Payments, Due in Three Years 2021 Operating Leases, Future Minimum Payments, Due in Four Years 2022 Operating Leases, Future Minimum Payments, Due in Five Years Thereafter Operating Leases, Future Minimum Payments, Due Thereafter Total future minimum lease payments Operating Leases, Future Minimum Payments Due Purchase Commitment, Excluding Long-term Commitment [Table] Purchase Commitment, Excluding Long-term Commitment [Table] Litigation Case [Axis] Litigation Case [Axis] Litigation Case [Domain] Litigation Case [Domain] Shareholder Class Action Shareholder Class Action [Member] Shareholder Class Action [Member] Purchase Commitment, Excluding Long-term Commitment [Axis] Purchase Commitment, Excluding Long-term Commitment [Axis] Purchase Commitment, Excluding Long-term Commitment [Domain] Purchase Commitment, Excluding Long-term Commitment [Domain] Inventories Inventories [Member] Purchase Commitment, Excluding Long-term Commitment [Line Items] Purchase Commitment, Excluding Long-term Commitment [Line Items] Rent expense Operating Leases, Rent Expense Amount of manufacturing commitment Short-term Purchase Commitment, Amount Short-term Purchase Commitment, Amount Number of class action lawsuits filed Number of Class Actions Number of Class Actions Number of Company officers named in lawsuits Number of Company Officers Named in Lawsuit Number of Company Officers Named in Lawsuit Disclosure of Compensation Related Costs, Share-based Payments [Abstract] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Plan Name [Axis] Plan Name [Axis] Plan Name [Domain] Plan Name [Domain] 2014 Equity Incentive Plan Two Thousand Fourteen Equity Incentive Plan [Member] [Member] Two Thousand Fourteen Equity Incentive Plan [Member] [Member] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Increase to shares of common stock reserved for issuance Share-based Compensation Arrangement by Share-based Payment Award, Number of Additional Shares Authorized Shares reserved for issuance under share-based compensation plan Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant Equity [Abstract] Schedule of Stock by Class [Table] Schedule of Stock by Class [Table] Subsequent Event Type [Axis] Subsequent Event Type [Axis] Subsequent Event Type [Domain] Subsequent Event Type [Domain] Subsequent Event Subsequent Event [Member] Class of Stock [Line Items] Class of Stock [Line Items] Amount authorized under stock repurchase program Stock Repurchase Program, Authorized Amount Stock repurchase program expiration date Stock Repurchase Program Expiration Date Additional amount authorized for repurchase Share Repurchase Program, Additional Shares Authorized for Repurchase Share Repurchase Program, Additional Shares Authorized for Repurchase Number of shares repurchased in period Stock Repurchased During Period, Shares Value of shares repurchased in period Stock Repurchased During Period, Value Average cost of repurchased shares (in usd per share) Treasury Stock Acquired, Average Cost Per Share Remaining amount available for repurchases under the program Stock Repurchase Program, Remaining Authorized Repurchase Amount Shares Available for Grant Share-based Compensation Arrangement by Share-based Payment Award, Shares Available for Grant [Roll Forward] Share-based Compensation Arrangement by Share-based Payment Award, Shares Available for Grant [Roll Forward] Beginning balance (shares) Authorized (shares) Options granted (shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross Options canceled (shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period Awards granted (shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period Awards canceled (shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period Ending balance (shares) Number of Shares Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward] Beginning balance (shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number Options granted (shares) Options exercised (shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period Options forfeited (shares) Ending balance (shares) Options Exercisable (shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number Weighted Average Exercise Price Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract] Beginning balance (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price Options granted (in dollars per share) Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price Options exercised (in dollars per share) Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price Options forfeited (in dollars per share) Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price Ending balance (in dollars per share) Options exercisable (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price Weighted Average Remaining Contractual Life Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term [Abstract] Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term [Abstract] Weighted average remaining contractual life, period start Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term Weighted average remaining contractual life, period end Weighted average life, options exercisable Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term Aggregate Intrinsic Value Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value [Abstract] Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value [Abstract] Aggregate intrinsic value, period start Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value Aggregate intrinsic value, period end Aggregate intrinsic value, options exercisable Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value Aggregate grant date fair value Stock Granted, Value, Share-based Compensation, Gross Total intrinsic value of options exercised Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value Total grant-date fair value of options Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value Organization, Consolidation and Presentation of Financial Statements [Abstract] Schedule of Revenue by Major Customers, by Reporting Segments [Table] Schedule of Revenue by Major Customers, by Reporting Segments [Table] Customer Concentration Risk Customer Concentration Risk [Member] Customer [Axis] Customer [Axis] Customer [Domain] Customer [Domain] VAD A VAD A [Member] VAD A [Member] VAD B VAD B [Member] [Member] VAD B [Member] Concentration Risk Benchmark [Axis] Concentration Risk Benchmark [Axis] Concentration Risk Benchmark [Domain] Concentration Risk Benchmark [Domain] Sales Sales [Member] Accounts Receivable Accounts Receivable [Member] Revenue, Major Customer [Line Items] Revenue, Major Customer [Line Items] Significant customer, as a percentage Concentration Risk, Percentage STOCKHOLDERS' EQUITY Stockholders' Equity Note Disclosure [Text Block] SEGMENT INFORMATION Segment Reporting Disclosure [Text Block] Balance Sheet Related Disclosures [Abstract] Movement in Standard and Extended Product Warranty Accrual, Increase (Decrease) [Roll Forward] Movement in Standard and Extended Product Warranty Accrual, Increase (Decrease) [Roll Forward] Beginning balance Standard and Extended Product Warranty Accrual Charges to operations Standard and Extended Product Warranty Accrual, Increase for Warranties Issued Obligations fulfilled Standard and Extended Product Warranty Accrual, Decrease for Payments Changes in existing warranty Standard and Extended Product Warranty Accrual, Increase (Decrease) for Preexisting Warranties Total product warranties Current portion Product Warranty Accrual, Current Non-current portion Product Warranty Accrual, Noncurrent Summary of total shares available for grant Disclosure of Share-based Compensation Arrangements by Share-based Payment Award [Table Text Block] Summary of shares available for grant and outstanding stock option activity Share-based Compensation, Stock Options, Activity [Table Text Block] Summary of RSU activity and related information Schedule of Nonvested Restricted Stock Units Activity [Table Text Block] Weighted average assumptions used to value MBRSUs Schedule of Share-based Payment Award, Equity Other than Options, Valuation Assumptions [Table Text Block] Schedule of Share-based Payment Award, Equity Other than Options, Valuation Assumptions [Table Text Block] Weighted average assumptions used to value employee stock purchase rights Schedule of Share-based Payment Award, Employee Stock Purchase Plan, Valuation Assumptions [Table Text Block] Schedule of stock-based awards granted in the consolidated statements of operations Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Table Text Block] Fair Value Disclosures [Abstract] FAIR VALUE DISCLOSURE Fair Value Disclosures [Text Block] Earnings Per Share [Abstract] NET LOSS PER SHARE Earnings Per Share [Text Block] Schedule of financial assets and liabilities measured at fair value on a recurring basis Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block] Revenue from Contract with Customer [Abstract] Revenue, Initial Application Period Cumulative Effect Transition [Table] Revenue, Initial Application Period Cumulative Effect Transition [Table] Scenario [Axis] Scenario [Axis] Scenario, Unspecified [Domain] Scenario, Unspecified [Domain] Restatement Adjustment Restatement Adjustment [Member] Adjustments for New Accounting Pronouncements [Axis] Adjustments for New Accounting Pronouncements [Axis] Type of Adoption [Domain] Type of Adoption [Domain] Accounting Standards Update 2014-09 Accounting Standards Update 2014-09 [Member] Revenue, Initial Application Period Cumulative Effect Transition [Line Items] Revenue, Initial Application Period Cumulative Effect Transition [Line Items] Product revenue Sales Revenue, Goods, Net Subscription and support Sales Revenue, Services, Net Deferred revenue Deferred Revenue Decrease in capitalized contract cost Capitalized Contract Cost, Net Contracted-but-not-recognized revenue Revenue, Remaining Performance Obligation Contracted-but-not-recognized revenue expected to be recognized over next 12 months Contracted-but-not-recognized Revenue Expected to be Recognized over Next Twelve Months Contracted-but-not-recognized Revenue Expected to be Recognized over Next Twelve Months As Reported Scenario, Previously Reported [Member] Total revenue Cost of revenue - Product Cost of Goods Sold Total cost of revenue Cost of Goods and Services Sold Gross profit Gross Profit Sales and Marketing Expense Selling and Marketing Expense Total operating expenses Operating Expenses Operating loss Operating Income (Loss) Net loss Net Income (Loss) Attributable to Parent Net loss per share, basic and diluted (USD per share) Earnings Per Share, Basic and Diluted Award Type [Axis] Award Type [Axis] Equity Award [Domain] Equity Award [Domain] Restricted Stock Units (RSUs) Restricted Stock Units (RSUs) [Member] PBRSUs Performace-Based Restricted Stock Unit [Member] Performace-Based Restricted Stock Unit [Member] Performance-Based Restricted Stock Unit Performance-Based Restricted Stock Unit [Member] Performance-Based Restricted Stock Unit [Member] Market-Based Restricted Stock Unit Market-Based Restricted Stock Unit [Member] MBRSUs Vesting [Axis] Vesting [Axis] Vesting [Domain] Vesting [Domain] Vesting period, one year Share-based Compensation Award, Tranche One [Member] Vesting period, three years Share-based Compensation Award, Tranche Three [Member] Equity Components [Axis] Equity Components [Axis] Equity Component [Domain] Equity Component [Domain] Common Stock Common Stock [Member] Vesting period Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period Restricted Stock Units, Number of Shares [Roll Forward] Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward] Beginning balance Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number Awards granted Awards vested Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period Awards canceled Ending balance Restricted Stock Units, Weighted Average Grant Date Fair Value [Abstract] Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract] Beginning balance (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value Awards granted (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value Awards vested (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value Awards canceled (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value Ending balance (in dollars per share) Fair value of shares vested Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value Shares repurchased for tax withholdings on vesting of RSUs Shares Paid for Tax Withholding for Share Based Compensation Payment for shares withheld for tax withholdings on vesting of restricted stock units Payments Related to Tax Withholding for Share-based Compensation PBRSU to common stock, conversion ratio Performance-Based Restricted Stock Unit, Conversion Ratio Performance-Based Restricted Stock Unit, Conversion Ratio Market-Based Restricted Stock Unit, Conversion Ratio Market-Based Restricted Stock Unit, Conversion Ratio Market-Based Restricted Stock Unit, Conversion Ratio Shares expected to vest, remainder of year (shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Expected to Vest, Remainder of Year Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Expected to Vest, Remainder of Year Employee Stock Purchase Plan Employee Stock Purchase Plan [Member] Employee Stock Purchase Plan [Member] Employee Stock Options and Restricted Stock Units Employee Stock Options And Restricted Stock Units [Member] Employee Stock Options And Restricted Stock Units [Member] Options and Restricted Stock Units issued and outstanding Share-based Compensation Arrangement by Share-based Payment Award, Aggregate Options and Non-Option Equity Instruments, Outstanding, Number Share-based Compensation Arrangement by Share-based Payment Award, Aggregate Options and Non-Option Equity Instruments, Outstanding, Number Total reserved shares of common stock for future issuance Common Stock, Capital Shares Reserved for Future Issuance Net loss Prepaid expenses and other current assets Increase (Decrease) in Prepaid Expense and Other Assets Other assets Increase (Decrease) in Other Operating Assets Deferred revenue Increase (Decrease) in Deferred Revenue Schedule of Calculation of Basic and Diluted Net Income (Loss) per Share Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] Schedule of Antidilutive Securities Excluded from the Computation of Diluted Net Loss Per Share Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block] Schedule of Property, Plant and Equipment [Table] Property, Plant and Equipment [Table] Property, Plant and Equipment, Type [Axis] Property, Plant and Equipment, Type [Axis] Property, Plant and Equipment, Type [Domain] Property, Plant and Equipment, Type [Domain] Computer and other equipment Computer Equipment [Member] Manufacturing, research and development laboratory equipment Machinery and Equipment [Member] Software Software and Software Development Costs [Member] Office furniture and equipment Furniture and Fixtures [Member] Leasehold improvements Leasehold Improvements [Member] Range [Axis] Range [Axis] Range [Domain] Range [Domain] Minimum Minimum [Member] Maximum Maximum [Member] Property and Equipment [Line Items] Property, Plant and Equipment [Line Items] Property and equipment, gross Property, Plant and Equipment, Gross Less: Accumulated depreciation and amortization Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment Property and equipment, net Property, Plant and Equipment, Net Estimated useful lives Property, Plant and Equipment, Useful Life Depreciation and amortization expense Depreciation, Depletion and Amortization, Nonproduction Assets under capital lease Capital Leased Assets, Gross Related accumulated depreciation Capital Leases, Lessee Balance Sheet, Assets by Major Class, Accumulated Depreciation Schedule of Future Minimum Lease Payment by Year Under Operating Leases Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block] Schedule of Future Minimum Lease Payments for Capital Leases Schedule of Future Minimum Lease Payments for Capital Leases [Table Text Block] Capital Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract] Capital Leases, Future Minimum Payments Due, Fiscal Year Maturity [Abstract] 2018 (remaining six months) Capital Leases, Future Minimum Payments, Remainder of Fiscal Year 2019 Capital Leases, Future Minimum Payments Due in Two Years 2020 Capital Leases, Future Minimum Payments Due in Three Years 2021 Capital Leases, Future Minimum Payments Due in Four Years 2022 Capital Leases, Future Minimum Payments Due in Five Years Thereafter Capital Leases, Future Minimum Payments Due Thereafter Total Capital Leases, Future Minimum Payments Due Entity [Abstract] Entity [Abstract] Entity Registrant Name Entity Registrant Name Entity Central Index Key Entity Central Index Key Document Type Document Type Document Period End Date Document Period End Date Amendment Flag Amendment Flag Document Fiscal Year Focus Document Fiscal Year Focus Document Fiscal Period Focus Document Fiscal Period Focus Current Fiscal Year End Date Current Fiscal Year End Date Entity Filer Category Entity Filer Category Entity Common Stock, Shares Outstanding Entity Common Stock, Shares Outstanding Statement of Cash Flows [Abstract] Cash flows from operating activities Net Cash Provided by (Used in) Operating Activities [Abstract] Net loss Adjustments to reconcile net loss to net cash provided by operating activities: Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] Depreciation and amortization Depreciation, Depletion and Amortization Stock-based compensation Share-based Compensation Other Other Operating Activities, Cash Flow Statement Changes in operating assets and liabilities: Increase (Decrease) in Operating Assets [Abstract] Accounts receivable, net Increase (Decrease) in Accounts Receivable Inventories Increase (Decrease) in Inventories Accounts payable Increase (Decrease) in Accounts Payable Accrued liabilities Increase (Decrease) in Accrued Liabilities Other liabilities Increase (Decrease) in Other Operating Liabilities Net cash provided by operating activities Net Cash Provided by (Used in) Operating Activities Cash flows from investing activities Net Cash Provided by (Used in) Investing Activities [Abstract] Purchases of property and equipment Payments to Acquire Property, Plant, and Equipment Maturities of short-term investments Proceeds from Maturities, Prepayments and Calls of Short-term Investments Purchases of short-term investments Payments to Acquire Short-term Investments Net cash provided by (used in) investing activities Net Cash Provided by (Used in) Investing Activities Cash flows from financing activities Net Cash Provided by (Used in) Financing Activities [Abstract] Proceeds from employee stock option exercises and employee stock purchase plan Proceeds from Issuance of Shares under Incentive and Share-based Compensation Plans, Including Stock Options Payments for Repurchase of Common Stock Payments for Repurchase of Common Stock Payment on capital lease obligations Repayments of Long-term Capital Lease Obligations Net cash provided by (used in) financing activities Net Cash Provided by (Used in) Financing Activities Net increase in cash and cash equivalents Cash and Cash Equivalents, Period Increase (Decrease) Cash and cash equivalents at beginning of period Cash and Cash Equivalents, at Carrying Value Cash and cash equivalents at end of period Supplemental disclosure of cash flow information Supplemental Cash Flow Information [Abstract] Income taxes paid Income Taxes Paid Interest paid Interest Paid Supplemental disclosure of noncash investing and financing activities Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract] Unpaid property and equipment purchases Capital Expenditures Incurred but Not yet Paid Schedule of Segment Reporting Information, by Segment [Table] Schedule of Segment Reporting Information, by Segment [Table] People's Republic of China CHINA United Kingdom UNITED KINGDOM Segment Reporting Information [Line Items] Segment Reporting Information [Line Items] Property and equipment, net Schedule of shares reserved for future issuance Schedule of Stock by Class [Table Text Block] Capitalized Contract Cost [Roll Forward] Capitalized Contract Cost [Roll Forward] Capitalized Contract Cost [Roll Forward] Beginning balance Recognized Capitalized Contract Cost, Amortization Additions Capitalized Contract Cost, Additions Capitalized Contract Cost, Additions Total Deferred Commission Current portion Capitalized Contract Cost, Current Capitalized Contract Cost, Current Non-current portion Capitalized Contract Cost, Noncurrent Capitalized Contract Cost, Noncurrent Deferred commission expense expected to be recognized over next twelve months (percent) Deferred Commission Expense Expected to be Recognized over Next Twelve Months Deferred Commission Expense Expected to be Recognized over Next Twelve Months ESPP Employee Stock [Member] First day of fiscal years 2016 and 2017 Expected term (in years) Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term Offering period, term Share-Based Compensation Arrangement By Share-Based Payment Award, Award Offering Period Share-Based Compensation Arrangement By Share-Based Payment Award, Award Offering Period Percent of fair market value of common stock the price at which common stock is purchased Share-based Compensation Arrangement by Share-based Payment Award, Purchase Price of Common Stock, Percent Maximum amount any participant may purchase per calendar year Share-based Compensation Arrangement by Share-based Payment Award, Maximum Value of Shares Per Employee Share-based Compensation Arrangement by Share-based Payment Award, Maximum Value of Shares Per Employee Maximum number of shares to be purchased per employee in any six-month period Share-based Compensation Arrangement by Share-based Payment Award, Maximum Number of Shares Per Employee Expected volatility, minimum Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate, Minimum Expected volatility, maximum Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate, Maximum Risk free interest rate, minimum Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Minimum Risk free interest rate, maximum Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate, Maximum Stock issued in period Stock Issued During Period, Shares, Employee Stock Purchase Plans Fair Value Measurements, Recurring and Nonrecurring [Table] Fair Value Measurements, Recurring and Nonrecurring [Table] Fair Value, Hierarchy [Axis] Fair Value, Hierarchy [Axis] Fair Value Hierarchy [Domain] Fair Value Hierarchy [Domain] Level 1 Fair Value, Inputs, Level 1 [Member] Level 2 Fair Value, Inputs, Level 2 [Member] Major Types of Debt and Equity Securities [Axis] Major Types of Debt and Equity Securities [Axis] Major Types of Debt and Equity Securities [Domain] Major Types of Debt and Equity Securities [Domain] U.S. treasuries US Treasury Securities [Member] Corporate securities Corporate Debt Securities [Member] Commercial paper Commercial Paper, Not Included with Cash and Cash Equivalents [Member] Cash and Cash Equivalents [Axis] Cash and Cash Equivalents [Axis] Cash and Cash Equivalents [Domain] Cash and Cash Equivalents [Domain] Money market funds Money Market Funds [Member] Commercial Paper Commercial Paper [Member] Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] Cash equivalents, Amortized Cost Cash Equivalents, at Carrying Value Cash equivalents Cash and Cash Equivalents, Fair Value Disclosure Short-term investments Available-for-sale Securities, Debt Securities Securities, Amortized cost Available-for-sale Debt Securities, Amortized Cost Basis Securities, Gross Unrealized Gain (Loss) Available-for-sale Securities, Accumulated Gross Unrealized Gain (Loss), before Tax Total cash equivalents and short-term investments, Amortized Cost Cash, Cash Equivalents, and Short-term Investments Total cash equivalents and short-term investments, Gross Unrealized Gain (Loss) Cash, Cash Equivalents, and Short-term Investments, Accumulated Gross Unrealized Gain (Loss), before Tax Cash, Cash Equivalents, and Short-term Investments, Accumulated Gross Unrealized Gain (Loss), before Tax Total cash equivalents and short-term investments, Fair Value Cash, Cash Equivalents, and Short-term Investments, Fair Value Cash, Cash Equivalents, and Short-term Investments, Fair Value Short-term Investments Short-term Investments Accrued Liabilities, Current [Abstract] Accrued Liabilities, Current [Abstract] Accrued compensation Employee-related Liabilities, Current Accrued expenses and other liabilities Other Accrued Liabilities, Current Warranty liability, current portion Total accrued liabilities Accrued Liabilities, Current Schedule of total revenue by geographic region Schedule of Revenue from External Customers and Long-Lived Assets, by Geographical Areas [Table Text Block] Schedule of property and equipment, net, by location Long-lived Assets by Geographic Areas [Table Text Block] Statement of Comprehensive Income [Abstract] Unrealized gain (loss) on available-for-sale investments, net of tax Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, before Reclassification Adjustments, Net of Tax Comprehensive loss Comprehensive Income (Loss), Net of Tax, Attributable to Parent Debt Disclosure [Abstract] Schedule of Long-term Debt Instruments [Table] Schedule of Long-term Debt Instruments [Table] Credit Facility Credit Facility [Axis] Credit Facility [Domain] Credit Facility [Domain] Revolving Credit Facility Revolving Credit Facility [Member] Variable Rate [Axis] Variable Rate [Axis] Variable Rate [Domain] Variable Rate [Domain] Prime Rate Prime Rate [Member] LIBOR London Interbank Offered Rate (LIBOR) [Member] Weighted Average Weighted Average [Member] Debt Instrument [Line Items] Debt Instrument [Line Items] Basis spread on variable rate Debt Instrument, Basis Spread on Variable Rate Line of Credit Facility, Expiration Period Line of Credit Facility, Expiration Period Interest rate during the period Line of Credit Facility, Interest Rate During Period Required liquidity ratio Debt Covenant, Liquidity Ratio Debt Covenant, Liquidity Ratio Requitred minimum cash balance as of the last day of each month Debt Covenant Minimum Cash Balance Debt Covenant Minimum Cash Balance Potential increase in interest rate Debt Instrument, Interest Rate, Potential Increase (Decrease) Debt Instrument, Interest Rate, Potential Increase (Decrease) Maximum borrowing capacity Line of Credit Facility, Maximum Borrowing Capacity Debt, non-current Long-term Debt, Excluding Current Maturities Numerator: Numerator [Abstract] Numerator [Abstract] Denominator: Denominator [Abstract] Denominator [Abstract] Weighted-average shares used to compute net loss per share, basic and diluted Weighted Average Number of Shares Outstanding, Basic and Diluted Basic (in dollars per share) Earnings Per Share, Basic Subsequent Events [Abstract] SUBSEQUENT EVENTS Subsequent Events [Text Block] Statement of Financial Position [Abstract] Allowance for doubtful accounts Allowance for Doubtful Accounts Receivable, Current Preferred stock, par value (in dollars per share) Preferred Stock, Par or Stated Value Per Share Preferred stock, shares authorized Preferred Stock, Shares Authorized Preferred stock, shares issued Preferred Stock, Shares Issued Preferred stock, shares outstanding Preferred Stock, Shares Outstanding Common stock, par value (in dollars per share) Common Stock, Par or Stated Value Per Share Common stock, shares authorized Common Stock, Shares Authorized Common stock, shares issued Common Stock, Shares, Issued Common stock, shares outstanding Common Stock, Shares, Outstanding Treasury stock, shares outstanding Treasury Stock, Shares CONSOLIDATED BALANCE SHEET COMPONENTS Supplemental Balance Sheet Disclosures [Text Block] Income Tax Disclosure [Abstract] Income tax provision Income Tax Expense (Benefit) Adoption of ASC 606 Schedule of New Accounting Pronouncements and Changes in Accounting Principles [Table Text Block] Percentage of Revenue from Individual Customers Revenue from External Customers by Products and Services [Table Text Block] Schedule of Prepaid Expenses and Other Current Assets Schedule of Other Current Assets [Table Text Block] Schedule of Property and Equipment Property, Plant and Equipment [Table Text Block] Schedule of Other Assets Schedule of Other Assets, Noncurrent [Table Text Block] Schedule of Deferred Commission Expense Schedule of Deferred Commission Expense [Table Text Block] Schedule of Deferred Commission Expense [Table Text Block] Schedule of Accrued Liabilities Schedule of Accrued Liabilities [Table Text Block] Summary of Deferred Revenue Deferred Revenue, by Arrangement, Disclosure [Table Text Block] Schedule of Product Warranty Liability Schedule of Product Warranty Liability [Table Text Block] Prepaid expenses and other current assets Total current assets Assets, Current Other assets Other Assets, Noncurrent Total assets Assets Deferred revenue, current Deferred Revenue, Current Total current liabilities Liabilities, Current Deferred revenue, non-current Deferred Revenue, Noncurrent Total liabilities Liabilities Accumulated deficit Retained Earnings (Accumulated Deficit) Total stockholders’ equity Stockholders' Equity Attributable to Parent Total liabilities and stockholders’ equity Liabilities and Equity Subsequent Event [Table] Subsequent Event [Table] Subsequent Event Subsequent Event [Line Items] Subsequent Event [Line Items] Stock repurchase program expiration date Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Table] Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Table] Income Statement Location [Axis] Income Statement Location [Axis] Income Statement Location [Domain] Income Statement Location [Domain] Cost of revenue Cost of Sales [Member] Research and development Research and Development Expense [Member] Sales and marketing Selling and Marketing Expense [Member] General and administrative General and Administrative Expense [Member] Employee Stock Option Employee Stock Option [Member] Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items] Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items] Total stock-based compensation Allocated Share-based Compensation Expense Unrecognized stock-based compensation expense Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized Period of recognition of unrecognized stock-based compensation expense Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate Risk free interest rate Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate DEBT Debt Disclosure [Text Block] Disaggregation of Revenue [Table] Disaggregation of Revenue [Table] Geographical [Domain] Disaggregation of Revenue [Line Items] Disaggregation of Revenue [Line Items] Total revenues Nature of Operations Nature of Operations [Policy Text Block] Nature of Operations [Policy Text Block] Basis of Presentation Consolidation, Policy [Policy Text Block] Consolidation Basis of Accounting, Policy [Policy Text Block] Use of Estimates Use of Estimates, Policy [Policy Text Block] Foreign Currency Foreign Currency Transactions and Translations Policy [Policy Text Block] New Accounting Pronouncements New Accounting Pronouncements, Policy [Policy Text Block] Concentrations of Credit Risk and Significant Customers Concentration Risk, Credit Risk, Policy [Policy Text Block] Movement in Deferred Revenue [Roll Forward] Movement in Deferred Revenue [Roll Forward] Beginning balance Recognized Deferred Revenue, Revenue Recognized Additions Deferred Revenue, Additions Total Deferred Revenue Current portion Non-current portion Deferred revenue expected to be recognized over next 12 months (percent) Deferred Revenue Expected to be Recognized over Next Twelve Months Deferred Revenue Expected to be Recognized over Next Twelve Months ASSETS Assets [Abstract] CURRENT ASSETS: Assets, Current [Abstract] Cash and cash equivalents Short-term investments Accounts receivable, net of allowance for doubtful accounts of $120 and $127 as of June 30, 2018 and December 31, 2017, respectively Accounts Receivable, Net, Current Inventories Inventory, Net Total current assets Goodwill Goodwill Total assets LIABILITIES AND STOCKHOLDERS’ EQUITY Liabilities and Equity [Abstract] LIABILITIES Liabilities [Abstract] CURRENT LIABILITIES: Liabilities, Current [Abstract] Accounts payable Accounts Payable, Current Accrued liabilities Debt, current Long-term Debt, Current Maturities Total current liabilities Other liabilities Other Liabilities, Noncurrent Total liabilities Commitments and contingencies (Note 5) Commitments and Contingencies Stockholders’ equity: Stockholders' Equity Attributable to Parent [Abstract] Preferred stock, par value of $0.001 per share - 25,000,000 shares authorized as of June 30, 2018 and December 31, 2017; no shares issued and outstanding as of June 30, 2018 and December 31, 2017 Preferred Stock, Value, Issued Common stock, par value of $0.001 per share - 500,000,000 shares authorized as of June 30, 2018 and December 31, 2017; 55,320,058 and 54,171,498 shares issued and outstanding as of June 30, 2018 and December 31, 2017, respectively Common Stock, Value, Issued Additional paid–in capital Additional Paid in Capital, Common Stock Treasury stock - 1,610,204 and 1,361,243 shares as of June 30, 2018 and December 31, 2017, respectively Treasury Stock, Value Accumulated other comprehensive loss Accumulated Other Comprehensive Income (Loss), Net of Tax Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Antidilutive Securities [Axis] Antidilutive Securities [Axis] Antidilutive Securities, Name [Domain] Antidilutive Securities, Name [Domain] Shares of common stock issuable under the Equity Incentive Plan Employee Stock Purchase Plan Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Shares excluded from the diluted per share calculation Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount STOCK-BASED COMPENSATION Disclosure of Compensation Related Costs, Share-based Payments [Text Block] COMMITMENTS AND CONTINGENCIES Commitments and Contingencies Disclosure [Text Block] DESCRIPTION OF BUSINESS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Organization, Consolidation, Basis of Presentation, Business Description and Accounting Policies [Text Block] INCOME TAXES Income Tax Disclosure [Text Block] Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Abstract] Investment [Table] Investment [Table] Investment Type [Axis] Investment Type [Axis] Investments [Domain] Investments [Domain] Convertible Note [Member] Convertible Note [Member] Convertible Note [Member] Investment [Line Items] Investment [Line Items] Convertible note Payments to Acquire Available-for-sale Securities, Debt Deferred sales commissions, non-current portion Deferred Sales Commission Investment in privately held company Other Investment Not Readily Marketable, Fair Value Other Other Assets, Miscellaneous, Noncurrent Total other assets Income Statement [Abstract] Statement [Table] Statement [Table] Cost of Sales Statement [Line Items] Statement [Line Items] Revenue: Revenues [Abstract] Product Cost of revenue Cost of Revenue [Abstract] Product Subscription and support Cost of Services Total cost of revenue Operating expenses: Operating Expenses [Abstract] Research and development Research and Development Expense General and administrative General and Administrative Expense Total operating expenses Interest income Interest Income, Operating Interest expense Interest Expense Other expense, net Other Nonoperating Income (Expense) Loss before income taxes Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest Provision for income taxes Weighted-average shares used in computing net loss per share, basic and diluted Stock-based compensation