Income Statement [Abstract] Revenue Sales Revenue, Services, Net [Abstract] Subscription License and Services Revenue Professional services and other Technology Services Revenue Total revenue Sales Revenue, Services, Net Cost of revenue Cost of Services [Abstract] Subscription Cost of Services, Licenses and Services Professional services and other Technology Services Costs Total cost of revenue Cost of Services Gross profit Gross Profit Operating expenses Operating Expenses [Abstract] Research and development Research and Development Expense Sales and marketing Selling and Marketing Expense General and administrative General and Administrative Expense Total operating expenses Operating Expenses Operating loss Operating Income (Loss) Other income (expense), net Other Nonoperating Income (Expense) Loss before income taxes Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest Provision for income taxes Income Tax Expense (Benefit) Net loss Net Income (Loss) Attributable to Parent Net loss per share attributable to common stockholders, basic and diluted (in dollars per share) Earnings Per Share, Basic and Diluted Weighted-average shares used to compute net loss per share attributable to common stockholders, basic and diluted (in shares) Weighted Average Number of Shares Outstanding, Basic and Diluted Accounting Policies [Abstract] Summary of Significant Accounting Policies Significant Accounting Policies [Text Block] Investments, Debt and Equity Securities [Abstract] Schedule of Amortized Costs, Unrealized Gains and Losses and Estimated Fair Value of Cash Equivalents and Short-term Investments Cash, Cash Equivalents and Investments [Table Text Block] Schedule of Contractual Maturities of Short-term Investments Investments Classified by Contractual Maturity Date [Table Text Block] Goodwill and Intangible Assets Disclosure [Abstract] Schedule of Intangible Assets, net Schedule of Finite-Lived Intangible Assets [Table Text Block] Business Combinations [Abstract] Schedule of Business Acquisitions, by Acquisition [Table] Schedule of Business Acquisitions, by Acquisition [Table] Title of Individual [Axis] Title of Individual [Axis] Relationship to Entity [Domain] Relationship to Entity [Domain] Stormpath Investors Stormpath Investors [Member] Stormpath Investors [Member] Stormpath Workforce Stormpath Workforce [Member] Stormpath Workforce [Member] Award Type [Axis] Award Type [Axis] Equity Award [Domain] Equity Award [Domain] Restricted common stock Restricted Common Stock [Member] Restricted Common Stock [Member] Business Acquisition [Axis] Business Acquisition [Axis] Business Acquisition, Acquiree [Domain] Business Acquisition, Acquiree [Domain] Stormpath Inc. Stormpath Inc. [Member] Stormpath [Member] Business Acquisition [Line Items] Business Acquisition [Line Items] Total purchase price Business Combination, Consideration Transferred Shares included in total consideration (in shares) Business Acquisition, Equity Interest Issued or Issuable, Number of Shares Incremental shares issued (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period Incremental shares issued Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other Than Options, Granted in Period, Aggregate Fair Value Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other Than Options, Granted in Period, Aggregate Fair Value Stock-based compensation vesting period Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period Statement of Financial Position [Abstract] Allowance for accounts receivable Allowance for Doubtful Accounts Receivable, Current Schedule of Finite-Lived Intangible Assets [Table] Schedule of Finite-Lived Intangible Assets [Table] Finite-Lived Intangible Assets by Major Class [Axis] Finite-Lived Intangible Assets by Major Class [Axis] Finite-Lived Intangible Assets, Major Class Name [Domain] Finite-Lived Intangible Assets, Major Class Name [Domain] Capitalized internal-use software costs Computer Software, Intangible Asset [Member] Software licenses Licensing Agreements [Member] Purchased developed technology Developed Technology Rights [Member] Finite-Lived Intangible Assets [Line Items] Finite-Lived Intangible Assets [Line Items] Intangible assets, gross Finite-Lived Intangible Assets, Gross Intangible assets, accumulated amortization Finite-Lived Intangible Assets, Accumulated Amortization Intangible assets, net Finite-Lived Intangible Assets, Net Goodwill and Intangible Assets, net Goodwill and Intangible Assets Disclosure [Text Block] Fair Value Disclosures [Abstract] Schedule of Stock by Class [Table] Schedule of Stock by Class [Table] Liability Class [Axis] Liability Class [Axis] Fair Value by Liability Class [Domain] Fair Value by Liability Class [Domain] Redeemable Convertible Preferred Stock Warrant Redeemable Convertible Preferred Stock Warrant [Member] Redeemable Convertible Preferred Stock Warrant [Member] Class of Stock [Line Items] Class of Stock [Line Items] Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward] Balance as of beginning of period Fair Value, Measurement with Unobservable Inputs Reconciliations, Recurring Basis, Liability Value Increase in fair value of warrant through exercise date Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings Reclassification of remaining warrant liability to additional paid-in capital Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements Balance as of end of period Equity [Abstract] Stockholders' Equity (Deficit) Stockholders' Equity Note Disclosure [Text Block] Fair Value Measurements, Recurring and Nonrecurring [Table] Fair Value Measurements, Recurring and Nonrecurring [Table] Measurement Frequency [Axis] Measurement Frequency [Axis] Fair Value, Measurement Frequency [Domain] Fair Value, Measurement Frequency [Domain] Fair Value, Measurements, Recurring Fair Value, Measurements, Recurring [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] 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] Asset-backed securities Asset-backed Securities [Member] Corporate debt securities Corporate Debt Securities [Member] 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] Level 3 Fair Value, Inputs, Level 3 [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] Fair value, cash equivalents Cash and Cash Equivalents, Fair Value Disclosure Fair value, short-term investments Available-for-sale Securities, Debt Securities Total short-term investments, estimated fair value Available-for-sale Securities Estimated fair value Cash Equivalents and Available-for-sale Securities, Fair Value Disclosure Cash Equivalents and Available-for-sale Securities, Fair Value Disclosure Series B redeemable convertible preferred stock warrant Warrant, Fair Value Disclosures Warrant, Fair Value Disclosures Disclosure of Compensation Related Costs, Share-based Payments [Abstract] Employee Incentive Plans Disclosure of Compensation Related Costs, Share-based Payments [Text Block] Fair Value Measurements Fair Value Disclosures [Text Block] Organization, Consolidation and Presentation of Financial Statements [Abstract] Overview and Basis of Presentation Organization, Consolidation and Presentation of Financial Statements Disclosure [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] Schedule of Changes in Series B Redeemable Convertible Preferred Stock Warrant Fair Value Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table] Stock options Employee Stock Option [Member] RSUs Restricted Stock Units (RSUs) [Member] ESPP Employee Stock [Member] Restricted stock awards Restricted Stock [Member] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Share-based Compensation Arrangement by Share-based Payment Award [Line Items] Stock-based compensation expense Allocated Share-based Compensation Expense Commitments and Contingencies Disclosure [Abstract] Commitments and Contingencies Commitments and Contingencies Disclosure [Text Block] New Accounting Pronouncements or Change in Accounting Principle [Table] New Accounting Pronouncements or Change in Accounting Principle [Table] Class of Stock [Axis] Class of Stock [Axis] Class of Stock [Domain] Class of Stock [Domain] Class A Common Stock Common Class A [Member] Class B Common Stock Common Class B [Member] Equity Components [Axis] Equity Components [Axis] Equity Component [Domain] Equity Component [Domain] Retained Earnings Retained Earnings [Member] Adjustments for New Accounting Pronouncements [Axis] Adjustments for New Accounting Pronouncements [Axis] Type of Adoption [Domain] Type of Adoption [Domain] Accounting Standards Update 2016-09 - Forfeiture Rate Component Accounting Standards Update 2016-09, Forfeiture Rate Component [Member] Accounting Standards Update 2016-09, Forfeiture Rate Component New Accounting Pronouncements or Change in Accounting Principle [Line Items] New Accounting Pronouncements or Change in Accounting Principle [Line Items] Cumulative impact adjustment Cumulative Effect of New Accounting Principle in Period of Adoption Number of votes per share Common Stock, Voting Rights, Number Of Votes Equivalent Common Stock, Voting Rights, Number Of Votes Equivalent Range [Axis] Range [Axis] Range [Domain] Range [Domain] Minimum Minimum [Member] Maximum Maximum [Member] Restricted Stock Units (RSUs) Number of equity incentive plans Share-based Compensation Arrangement by Share-based Payment Award, Number Of Equity Incentive Plans Share-based Compensation Arrangement by Share-based Payment Award, Number Of Equity Incentive Plans Options to purchase common stock outstanding (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number Weighted average grant date fair value of options granted (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value Grant date fair value of vested stock options Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value Intrinsic value of options exercised Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value Unrecognized stock-based compensation expense Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options Weighted average stock-based compensation recognition period Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition Shares subject to early exercise, liability recorded in accrued expenses and other current liabilities Share-based Compensation Arrangement by Share-based Payment Award, Nonvested Options, Options Subject To Early Exercise, Liability, Current Share-based Compensation Arrangement by Share-based Payment Award, Nonvested Options, Options Subject To Early Exercise, Liability, Current Number of options subject to early exercise (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Nonvested Options, Options Subject To Early Exercise, Shares Share-based Compensation Arrangement by Share-based Payment Award, Nonvested Options, Options Subject To Early Exercise, Shares Granted during period (in shares) Pre-combination service consideration Number of options, granted (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross Unrecognized compensation costs related to unvested restricted stock units Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Share-based Awards Other than Options Shares issued fair value Shares authorized (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized ESPP offering period Share Based Compensation Arrangement By Share Based Payment Award, Offering Period Share Based Compensation Arrangement By Share Based Payment Award, Offering Period Number of offering periods Share Based Compensation Arrangement By Share Based Payment Award, Number Of Offering Periods Share Based Compensation Arrangement By Share Based Payment Award, Number Of Offering Periods Employee share purchase price percentage Share-based Compensation Arrangement by Share-based Payment Award, Purchase Price of Common Stock, Percent Statement of Cash Flows [Abstract] Operating activities: Net Cash Provided by (Used in) Operating Activities [Abstract] Net loss Adjustments to reconcile net loss to net cash used in operating activities: Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] Depreciation, amortization and accretion Depreciation, Amortization and Accretion, Excluding Amortization of Deferred Sales Commissions Depreciation, Amortization and Accretion, Excluding Amortization of Deferred Sales Commissions Stock-based compensation Share-based Compensation Amortization of deferred commissions Amortization of Deferred Sales Commissions Other Other Noncash Income (Expense) Changes in operating assets and liabilities: Increase (Decrease) in Other Operating Assets and Liabilities, Net [Abstract] Accounts receivable Increase (Decrease) in Accounts Receivable Deferred commissions Increase (Decrease) in Deferred Compensation Prepaid expenses and other assets Increase (Decrease) in Prepaid Expense and Other Assets Accounts payable Increase (Decrease) in Accounts Payable Accrued compensation Increase (Decrease) in Employee Related Liabilities Accrued expenses and other liabilities Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities Deferred revenue Increase (Decrease) in Deferred Revenue Net cash used in operating activities Net Cash Provided by (Used in) Operating Activities Investing activities: Net Cash Provided by (Used in) Investing Activities [Abstract] Capitalization of internal-use software costs Payments to Acquire Intangible Assets Purchases of property and equipment and other Payments to Acquire Property, Plant, and Equipment Proceeds from sales of securities available for sale Proceeds from Sale of Available-for-sale Securities Proceeds from maturities and redemption of securities available for sale Proceeds from Maturities, Prepayments and Calls of Available-for-sale Securities Net cash provided by investing activities Net Cash Provided by (Used in) Investing Activities Financing activities: Net Cash Provided by (Used in) Financing Activities [Abstract] Proceeds from initial public offering, net of underwriters' discounts and commissions Proceeds from Issuance Initial Public Offering Payments of deferred offering costs Payments of Stock Issuance Costs Proceeds from stock option exercises, net of repurchases, and other Proceeds from Stock Options Exercised Principal payments on financing arrangements Repayments of Long-term Debt Net cash provided by (used in) financing activities Net Cash Provided by (Used in) Financing Activities Effects of changes in foreign currency exchange rates on cash and cash equivalents Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents Net increase (decrease) in cash and cash equivalents and restricted cash Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect Cash and cash equivalents and restricted cash at beginning of year Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents Cash and cash equivalents and restricted cash at end of year Supplementary cash flow disclosure: Supplemental Cash Flow Information [Abstract] Non-cash investing and financing activities: Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract] Vesting of early exercised common stock options Vesting Of Early Exercised Common Stock Options Vesting Of Early Exercised Common Stock Options Issuance of common stock in connection with warrant exercises Stock Issued For Warrants Exercised Stock Issued For Warrants Exercised Deferred offering costs, accrued but not yet paid Deferred Stock Issuance Costs Incurred But Not Yet Paid Deferred Stock Issuance Costs Incurred But Not Yet Paid Property and equipment and other, accrued but not yet paid Capital Expenditures Incurred but Not yet Paid Issuance of common stock in connection with business combination Business Combination, Consideration Transferred, Equity Interests Issued and Issuable Conversion of redeemable convertible preferred stock to common stock Conversion of Stock, Amount Converted Reconciliation of cash, cash equivalents, and restricted cash within the condensed consolidated balance sheets to the amounts shown in the statements of cash flows above: Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents [Abstract] Cash and cash equivalents Cash and Cash Equivalents, at Carrying Value Restricted cash, noncurrent Restricted Cash and Cash Equivalents Total cash, cash equivalents and restricted cash Document And Entity Information [Abstract] Document And Entity Information [Abstract] Entities [Table] Entities [Table] Entity Information [Line Items] Entity Information [Line Items] Document Type Document Type Document Period End Date Document Period End Date Amendment Flag Amendment Flag Entity Registrant Name Entity Registrant Name Entity Central Index Key Entity Central Index Key Current Fiscal Year End Date Current Fiscal Year End Date Entity Filer Category Entity Filer Category Document Fiscal Year Focus Document Fiscal Year Focus Document Period Focus Document Fiscal Period Focus Entity Common Stock, Shares Outstanding Entity Common Stock, Shares Outstanding Cash Equivalents and Short-term Investments Cash, Cash Equivalents, and Short-term Investments [Text Block] Related Party Transactions [Abstract] Related Party Transactions Related Party Transactions Disclosure [Text Block] Schedule of Stock-based Compensation Expense by Award Type Schedule of Compensation Cost for Share-based Payment Arrangements, Allocation of Share-based Compensation Costs by Plan [Table Text Block] Schedule of Stock-based Compensation Expense by Statement of Operations Location Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Table Text Block] Schedule of Stock Option Activity Share-based Compensation, Stock Options, Activity [Table Text Block] Schedule of Black-Scholes Option Pricing Model Estimated Fair Value Assumptions Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions [Table Text Block] Schedule of ESPP Black-Scholes Option Pricing Model Estimated Fair Value Assumptions Schedule of Share-based Payment Award, Employee Stock Purchase Plan, Valuation Assumptions [Table Text Block] Amortized Cost Available-for-sale Securities, Debt Maturities, Amortized Cost Basis, Fiscal Year Maturity [Abstract] Amortized cost, due within one year Available-for-sale Securities, Debt Maturities, Next Twelve Months, Amortized Cost Basis Amortized cost, due between one to five years Available-for-sale Securities, Debt Maturities, Year Two Through Five, Amortized Cost Basis Investments, amortized cost Available-for-sale Debt Securities, Amortized Cost Basis Estimated Fair Value Available-for-sale Securities, Debt Maturities, Fair Value, Fiscal Year Maturity [Abstract] Estimated fair value, due within one year Available-for-sale Securities, Debt Maturities, Next Twelve Months, Fair Value Estimated fair value, due between one to five years Available-for-sale Securities, Debt Maturities, Year Two Through Five, Fair Value Estimated fair value total 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 Expected term (in years) Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term 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 Expected dividend yield Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Rate Earnings Per Share [Abstract] Net Loss Per Share Earnings Per Share [Text Block] Business Combinations Business Combination Disclosure [Text Block] Schedule of Goodwill [Table] Schedule of Goodwill [Table] Goodwill [Line Items] Goodwill [Line Items] Goodwill, acquired during period Goodwill, Acquired During Period Goodwill Goodwill Goodwill impairments Goodwill, Impairment Loss Stock-based compensation included in capitalized software costs Employee Service Share-based Compensation, Allocation of Recognized Period Costs, Capitalized Amount Amortization expense Amortization of Intangible Assets Statement [Table] Statement [Table] Statement [Line Items] Statement [Line Items] Assets Assets [Abstract] Current assets: Assets, Current [Abstract] Short-term investments Short-term Investments Accounts receivable, net of allowances of $1,025 and $1,306 Accounts Receivable, Net, Current Deferred commissions Deferred Sales Commissions, Current Deferred Sales Commissions, Current Prepaid expenses and other current assets Prepaid Expense and Other Assets, Current Total current assets Assets, Current Property and equipment, net Property, Plant and Equipment, Net Deferred commissions, noncurrent Deferred Sales Commission Intangible assets, net Intangible Assets, Net (Excluding Goodwill) Other assets Other Assets, Noncurrent Total assets Assets Liabilities, redeemable convertible preferred stock and stockholders’ equity (deficit) Liabilities and Equity [Abstract] Current liabilities: Liabilities, Current [Abstract] Accounts payable Accounts Payable, Current Accrued expenses and other current liabilities Other Liabilities, Current Accrued compensation Employee-related Liabilities, Current Deferred revenue Deferred Revenue, Current Total current liabilities Liabilities, Current Deferred revenue, noncurrent Deferred Revenue, Noncurrent Other liabilities, noncurrent Other Liabilities, Noncurrent Total liabilities Liabilities Commitments and contingencies (Note 8) Commitments and Contingencies Redeemable convertible preferred stock Temporary Equity, Carrying Amount, Attributable to Parent Stockholders’ equity (deficit): Stockholders' Equity Attributable to Parent [Abstract] Preferred stock Preferred Stock, Value, Issued Common stock Common Stock, Value, Issued Additional paid-in capital Additional Paid in Capital Accumulated other comprehensive loss Accumulated Other Comprehensive Income (Loss), Net of Tax Accumulated deficit Retained Earnings (Accumulated Deficit) Total stockholders’ equity (deficit) Stockholders' Equity Attributable to Parent Total liabilities, redeemable convertible preferred stock and stockholders’ equity (deficit) Liabilities and Equity Numerator: Earnings Per Share, Basic [Abstract] Denominator: Earnings Per Share, Diluted [Abstract] Weighted-average shares outstanding - basic and diluted (in shares) Net loss per share attributable to common stockholders - basic and diluted (in dollars per share) Number of short-term investments in unrealized loss positions Available-for-sale, Securities in Unrealized Loss Positions, Qualitative Disclosure, Number of Positions Other-than-temporary impairment short term investment Other than Temporary Impairment Losses, Investments, Available-for-sale Securities Schedule of Cash and Cash Equivalents [Table] Schedule of Cash and Cash Equivalents [Table] Cash and Cash Equivalents [Line Items] Cash and Cash Equivalents [Line Items] Cash equivalents: Cash Equivalents, at Carrying Value [Abstract] Cash equivalents, amortized cost Cash Equivalents, at Carrying Value Cash equivalents, estimated fair value Investments: Investments [Abstract] Investments, unrealized gain Available-for-sale Debt Securities, Accumulated Gross Unrealized Gain, before Tax Investments, unrealized loss Available-for-sale Debt Securities, Accumulated Gross Unrealized Loss, before Tax Investments, estimated fair value Total short-term investments, amortized cost Available-for-sale Securities, Amortized Cost Basis Total short-term investments, unrealized gain Available-for-sale Securities, Accumulated Gross Unrealized Gain, before Tax Total short-term investments, unrealized loss Available-for-sale Securities, Accumulated Gross Unrealized Loss, before Tax Amortized cost Cash Equivalents and Available-for-sale Securities, Amortized Cost Basis Cash Equivalents and Available-for-sale Securities, Amortized Cost Basis 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 Excluded Excluded from Computation Of Earnings Per Share [Axis] Antidilutive Securities [Axis] Antidilutive Securities Name [Domain] Antidilutive Securities, Name [Domain] Conversion of convertible preferred stock Redeemable Convertible Preferred Stock [Member] Conversion of common stock warrant Warrant [Member] Conversion of convertible preferred stock warrant Convertible Preferred Stock Warrant [Member] Convertible Preferred Stock Warrant Restricted common stock issued and outstanding Issued and outstanding stock options Unvested restricted stock awards issued and outstanding Shares committed under the ESPP Unvested shares subject to repurchase Unvested Common Stock Subject To Repurchase [Member] Unvested Common Stock Subject To Repurchase [Member] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Antidilutive securities excluded from computation of earnings per share (in shares) Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount Debt Disclosure [Abstract] Schedule of Long-term Debt Instruments [Table] Schedule of Long-term Debt Instruments [Table] Scenario [Axis] Scenario [Axis] Scenario, Unspecified [Domain] Scenario, Unspecified [Domain] Scenario, Forecast Scenario, Forecast [Member] Debt Instrument [Axis] Debt Instrument [Axis] Debt Instrument, Name [Domain] Debt Instrument, Name [Domain] Loan and Security Agreement Loan And Security Agreement [Member] Loan And Security Agreement [Member] Financing Agreement 2015 Financing Agreement 2015 [Member] Financing Agreement 2015 [Member] Financing Agreement 2017 Financing Agreement 2017 [Member] Financing Agreement 2017 [Member] Credit Facility [Axis] Credit Facility [Axis] Credit Facility [Domain] Credit Facility [Domain] Revolving Credit Facility Revolving Credit Facility [Member] Long-term Debt, Type [Axis] Long-term Debt, Type [Axis] Long-term Debt, Type [Domain] Long-term Debt, Type [Domain] Capital Lease Capital Lease Obligations [Member] Term Loan Secured Debt [Member] Line of Credit Line of Credit [Member] Variable Rate [Axis] Variable Rate [Axis] Variable Rate [Domain] Variable Rate [Domain] Prime Rate Prime Rate [Member] Debt Instrument [Line Items] Debt Instrument [Line Items] Line of credit maximum borrowing capacity Line of Credit Facility, Maximum Borrowing Capacity Loan face amount Debt Instrument, Face Amount Line of credit maturity extension Debt Instrument, Term Extension Period Debt Instrument, Term Extension Period Letters of credit issued and outstanding Letters of Credit Outstanding, Amount Draws on line of credit Long-term Line of Credit Line of credit interest rate Debt Instrument, Basis Spread on Variable Rate Unused line of credit percentage fee Line of Credit Facility, Unused Capacity, Commitment Fee Percentage Line of credit commitment fee Debt Instrument, Fee Amount Shares issuable under warrants granted (in shares) Class of Warrant or Right, Number of Securities Called by Warrants or Rights Per share value, shares issuable under warrants granted (in dollars per share) Class of Warrant or Right, Exercise Price of Warrants or Rights Additional shares issuable under warrants granted (in shares) Class of Warrant or Right, Potentially Additional Number of Securities Called by Warrants or Rights Class of Warrant or Right, Potentially Additional Number of Securities Called by Warrants or Rights Warrants exercised during period, shares issued (in shares) Stock Issued During Period, Shares, Conversion of Convertible Securities Warrants exercised, shares withheld in lieu of cash (in shares) Conversion of Convertible Securities, Shares, Witheld In Lieu Of Cash Exercise Conversion of Convertible Securities, Shares, Witheld In Lieu Of Cash Exercise Financing agreement, implicit interest rate Debt Instrument, Interest Rate, Effective Percentage Financing agreement outstanding Capital Lease Obligations Debt and Financing Arrangements Debt Disclosure [Text Block] Income Statement Location [Axis] Income Statement Location [Axis] Income Statement Location [Domain] Income Statement Location [Domain] Subscription Cost of Services, Licenses and Services [Member] Cost of Services, Licenses and Services [Member] Professional services and other Technology Services Costs [Member] Technology Services Costs [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] Statement of Comprehensive Income [Abstract] Net change in unrealized gains on available-for-sale securities Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax Foreign currency translation adjustments Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax Other comprehensive income Other Comprehensive Income (Loss), Net of Tax Comprehensive loss Comprehensive Income (Loss), Net of Tax, Attributable to Parent Schedule of Basic and Diluted Net Loss Per Share Schedule of Earnings Per Share, Basic and Diluted [Table Text Block] Schedule of Potentially Dilutive Securities Excluded from Computation of Diluted Per Share Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block] Income Tax Disclosure [Abstract] Accounting Standards Update 2016-09 Accounting Standards Update 2016-09 [Member] Tax provision Loss before income taxes Effective income tax rate Effective Income Tax Rate Reconciliation, Percent Increase of deferred tax assets Deferred Tax Assets, Gross Increase of deferred tax asset valuation allowance Deferred Tax Assets, Valuation Allowance Statement of Stockholders' Equity [Abstract] Redeemable Convertible Preferred Stock Redeemable convertible preferred stock converted to common class B stock (in shares) Conversion of Stock, Shares Converted Common class B stock after conversion of redeemable convertible stock (in shares) Conversion of Stock, Shares Issued Redeemable preferred stock outstanding (in shares) Preferred Stock, Shares Outstanding Shares authorized, (in shares) Common Stock, Shares Authorized Common stock par value (in dollars per share) Common Stock, Par or Stated Value Per Share Common stock outstanding (in shares) Common Stock, Shares, Outstanding Other Commitments [Table] Other Commitments [Table] Letter of Credit Letter of Credit [Member] Other Commitments [Line Items] Other Commitments [Line Items] Deferred rent Deferred Rent Credit Rent expense Operating Leases, Rent Expense Sale of Stock [Axis] Sale of Stock [Axis] Sale of Stock [Domain] Sale of Stock [Domain] Initial Public Offering IPO [Member] Underwriters' Option to Purchase Additional Shares Over-Allotment Option [Member] Shares issued in initial public offering (in shares) Sale of Stock, Number of Shares Issued in Transaction Price per share in initial public offering (in dollars per share) Sale of Stock, Price Per Share Proceeds from initial public offering, net of underwriters' discounts and commissions Sale of Stock, Consideration Received on Transaction Initial public offering costs Basis of Presentation Basis of Accounting, Policy [Policy Text Block] Principles of Consolidation Consolidation, Policy [Policy Text Block] Use of Estimates Use of Estimates, Policy [Policy Text Block] Share-Based Compensation Share-based Compensation, Option and Incentive Plans Policy [Policy Text Block] Net Loss per Share Earnings Per Share, Policy [Policy Text Block] New Accounting Pronouncements New Accounting Pronouncements, Policy [Policy Text Block] Number of Options Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward] Number of options, outstanding beginning of period (in shares) Number of options, exercised (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period Number of options, canceled (in shares) Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period Number of options, outstanding end of period (in shares) Vested and exercisable, number of options (in 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] Options outstanding, weighted average exercise price beginning of period (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price Options granted, weighted average exercise price (in dollars per share) Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price Options exercised, weighted average exercise price (in dollars per share) Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price Options canceled, weighted average exercise price (in dollars per share) Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price Options outstanding, weighted average exercise price end of period (in dollars per share) Vested and exercisable, weighted average exercise price (in dollars per share) Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price Additional Disclosures Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract] Options outstanding, weighted average remaining contractual term Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term Vested and exercisable, weighted average remaining contractual term Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term Options outstanding beginning of period, aggregate intrinsic value Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value Options outstanding end of period, aggregate intrinsic value Vested and exercisable, aggregate intrinsic value Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value Income Taxes Income Tax Disclosure [Text Block]