Filed 5 Jun 19

Document and Entity Information

Document and Entity Information - shares9 Months Ended
Apr. 30, 2019May 31, 2019
Document and Entity Information [Abstract]
Entity Registrant NameZscaler, Inc.
Entity Central Index Key0001713683
Current Fiscal Year End Date--07-31
Entity Filer CategoryNon-accelerated Filer
Document Type10-Q
Document Period End DateApr. 30,
2019
Document Fiscal Year Focus2019
Document Fiscal Period FocusQ3
Amendment Flagfalse
Entity Small Businessfalse
Entity Emerging Growth Companytrue
Entity Ex Transition Periodtrue
Shares Outstanding125,661,928

Condensed Consolidated Balance

Condensed Consolidated Balance Sheets - USD ($) $ in ThousandsApr. 30, 2019Jul. 31, 2018
Current assets:
Cash and cash equivalents $ 54,974 $ 135,579
Short-term investments297,762 162,960
Accounts receivable, net71,151 61,611
Deferred contract acquisition costs19,391 16,136
Prepaid expenses and other current assets12,765 10,878
Total current assets456,043 387,164
Property and equipment, net31,976 19,765
Deferred contract acquisition costs, noncurrent44,714 39,774
Other noncurrent assets4,803 1,078
Total assets537,536 447,781
Current liabilities:
Accounts payable3,585 4,895
Accrued expenses and other current liabilities11,815 12,313
Accrued compensation21,845 23,393
Liability for early exercised unvested stock options695 1,561
Deferred revenue183,622 140,670
Total current liabilities221,562 182,832
Deferred revenue, noncurrent27,920 23,353
Other noncurrent liabilities1,475 1,360
Total liabilities250,957 207,545
Commitments and contingencies (Note 6)
Stockholders’ Equity
Preferred stock; $0.001 par value; 200,000 shares authorized as of April 30, 2019 and July 31, 2018; no shares issued and outstanding as of April 30, 2019 and July 31, 20180 0
Common stock; $0.001 par value; 1,000,000 shares authorized as of April 30, 2019 and July 31, 2018; 125,552 and 119,764 shares issued and outstanding as of April 30, 2019 and July 31, 2018, respectively126 119
Additional paid-in capital505,531 438,392
Notes receivable from stockholders0 (2,051)
Accumulated other comprehensive income (loss)101 (124)
Accumulated deficit(219,179)(196,100)
Total stockholders’ equity286,579 240,236
Total liabilities and stockholders’ equity $ 537,536 $ 447,781

Condensed Consolidated Balanc_2

Condensed Consolidated Balance Sheets (Parenthetical) - $ / sharesApr. 30, 2019Jul. 31, 2018
Statement of Financial Position [Abstract]
Preferred stock, par value (in dollars per share) $ 0.001 $ 0.001
Preferred stock, shares authorized (in shares)200,000,000 200,000,000
Preferred stock, shares issued (in shares)0 0
Preferred stock, shares outstanding (in shares)0 0
Common stock, par value (in dollars per share) $ 0.001 $ 0.001
Common stock, shares authorized (in shares)1,000,000,000 1,000,000,000
Common stock, shares issued (in shares)125,552,000 119,764,000
Common stock, shares outstanding (in shares)125,552,000 119,764,000

Condensed Consolidated Statemen

Condensed Consolidated Statements of Operations - USD ($) shares in Thousands, $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019Apr. 30, 2018Apr. 30, 2019Apr. 30, 2018
Income Statement [Abstract]
Revenue $ 79,128 $ 49,163 $ 216,728 $ 134,000
Cost of revenue14,960 9,424 42,330 26,374
Gross profit64,168 39,739 174,398 107,626
Operating expenses:
Sales and marketing45,295 29,892 120,596 83,930
Research and development16,499 9,907 44,756 27,899
General and administrative15,911 8,964 36,428 22,497
Total operating expenses77,705 48,763 201,780 134,326
Loss from operations(13,537)(9,024)(27,382)(26,700)
Interest income, net2,081 596 5,595 1,004
Other income (expense), net(144)14 (82)15
Loss before income taxes(11,600)(8,414)(21,869)(25,681)
Provision for income taxes636 357 1,510 1,003
Net loss(12,236)(8,771)(23,379)(26,684)
Accretion of Series C and D redeemable convertible preferred stock0 (1,223)0 (6,332)
Net loss attributable to common stockholders $ (12,236) $ (9,994) $ (23,379) $ (33,016)
Net loss per share attributable to common stockholders, basic and diluted (in dollars per share) $ (0.10) $ (0.14) $ (0.19) $ (0.73)
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares)124,672 73,818 122,644 45,047

Condensed Consolidated Statem_2

Condensed Consolidated Statements of Comprehensive Loss - USD ($) $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019Apr. 30, 2018Apr. 30, 2019Apr. 30, 2018
Statement of Comprehensive Income [Abstract]
Net loss $ (12,236) $ (8,771) $ (23,379) $ (26,684)
Other comprehensive income, net of tax:
Unrealized net gains on available-for-sale securities160 0 225 0
Other comprehensive income160 0 225 0
Comprehensive loss $ (12,076) $ (8,771) $ (23,154) $ (26,684)

Condensed Consolidated Statem_3

Condensed Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders' Equity (Deficit) - USD ($) $ in ThousandsTotalCommon StockAdditional Paid-In CapitalNotes Receivable From StockholdersAccumulated Other Comprehensive Income (Loss)Accumulated Deficit
Redeemable convertible preferred stock, beginning balance (in shares) at Jul. 31, 201772,501,000
Redeemable convertible preferred stock, beginning balance at Jul. 31, 2017 $ 200,977
Increase (Decrease) in Temporary Equity [Roll Forward]
Accretion of Series C and D redeemable convertible preferred stock $ 6,332
Conversion of redeemable convertible preferred sock to common stock upon initial public offering (in shares)(72,501,000)
Conversion of redeemable convertible preferred stock to common stock upon initial public offering $ (207,309)
Redeemable convertible preferred stock, ending balance (in shares) at Apr. 30, 20180
Redeemable convertible preferred stock, ending balance at Apr. 30, 2018 $ 0
Common stock, beginning balance (in shares) at Jul. 31, 201732,359,000
Beginning balance at Jul. 31, 2017(151,142) $ 18 $ 18,734 $ (7,878) $ 0 $ (162,016)
Increase (Decrease) in Stockholders' Equity [Roll Forward]
Issuance of common stock upon exercise of stock options (in shares)1,528,000
Issuance of common stock upon exercise of stock options4,345 $ 2 4,343
Vesting of early exercised stock options2,912 $ 12 2,900
Stock-based compensation7,106 7,106
Unrealized net gains on available-for-sale securities0
Net loss(26,684)(26,684)
Accretion of Series C and D redeemable convertible preferred stock(6,332)(6,332)
Repayments of principal amount on notes receivable from stockholders5,346 5,346
Accrued interest on notes receivable from stockholders, net of repayments279 279
Issuance of common stock upon initial public offering, net of underwriting discounts and issuance costs (in shares)13,800,000
Issuance of common stock upon initial public offering, net of underwriting discounts and issuance costs199,839 $ 14 199,825
Conversion of redeemable convertible preferred stock to common stock upon initial public offering (in shares)72,501,000
Conversion of redeemable convertible preferred stock to common stock upon initial public offering207,309 $ 73 207,236
Repurchases of unvested common stock (in shares)(549,000)
Repurchases of unvested common stock214 214
Issuance of common stock related to early exercised stock options (in shares)180,000
Issuance of common stock related to early exercised stock options0
Common stock, ending balance (in shares) at Apr. 30, 2018119,819,000
Ending balance at Apr. 30, 2018 $ 243,192 $ 119 434,250 (2,039)0 (189,138)
Redeemable convertible preferred stock, beginning balance (in shares) at Jan. 31, 201872,501,000
Redeemable convertible preferred stock, beginning balance at Jan. 31, 2018 $ 206,086
Increase (Decrease) in Temporary Equity [Roll Forward]
Accretion of Series C and D redeemable convertible preferred stock $ 1,223
Conversion of redeemable convertible preferred sock to common stock upon initial public offering (in shares)(72,501,000)
Conversion of redeemable convertible preferred stock to common stock upon initial public offering $ (207,309)
Redeemable convertible preferred stock, ending balance (in shares) at Apr. 30, 20180
Redeemable convertible preferred stock, ending balance at Apr. 30, 2018 $ 0
Common stock, beginning balance (in shares) at Jan. 31, 201832,831,000
Beginning balance at Jan. 31, 2018(167,058) $ 19 21,045 (7,755)0 (180,367)
Increase (Decrease) in Stockholders' Equity [Roll Forward]
Issuance of common stock upon exercise of stock options (in shares)687,000
Issuance of common stock upon exercise of stock options2,174 $ 1 2,173
Vesting of early exercised stock options1,897 $ 12 1,885
Stock-based compensation3,309 3,309
Unrealized net gains on available-for-sale securities0
Net loss(8,771)(8,771)
Accretion of Series C and D redeemable convertible preferred stock(1,223)(1,223)
Repayments of principal amount on notes receivable from stockholders5,346 5,346
Accrued interest on notes receivable from stockholders, net of repayments370 370
Issuance of common stock upon initial public offering, net of underwriting discounts and issuance costs (in shares)13,800,000
Issuance of common stock upon initial public offering, net of underwriting discounts and issuance costs199,839 $ 14 199,825
Conversion of redeemable convertible preferred stock to common stock upon initial public offering (in shares)72,501,000
Conversion of redeemable convertible preferred stock to common stock upon initial public offering207,309 $ 73 207,236
Common stock, ending balance (in shares) at Apr. 30, 2018119,819,000
Ending balance at Apr. 30, 2018 $ 243,192 $ 119 434,250 (2,039)0 (189,138)
Redeemable convertible preferred stock, beginning balance (in shares) at Jul. 31, 20180
Redeemable convertible preferred stock, beginning balance at Jul. 31, 2018 $ 0
Redeemable convertible preferred stock, ending balance (in shares) at Apr. 30, 20190
Redeemable convertible preferred stock, ending balance at Apr. 30, 2019 $ 0
Common stock, beginning balance (in shares) at Jul. 31, 2018119,764,000 119,764,000
Beginning balance at Jul. 31, 2018 $ 240,236 $ 119 438,392 (2,051)(124)(196,100)
Increase (Decrease) in Stockholders' Equity [Roll Forward]
Issuance of common stock upon exercise of stock options (in shares)5,153,000 5,153,000
Issuance of common stock upon exercise of stock options $ 23,523 $ 6 23,517
Vesting of restricted stock units (in shares)16,000
Vesting of restricted stock units0
Vesting of early exercised stock options844 844
Stock-based compensation34,088 34,088
Unrealized net gains on available-for-sale securities225 225
Net loss(23,379)(23,379)
Repayments of principal amount on notes receivable from stockholders1,905 1,905
Accrued interest on notes receivable from stockholders, net of repayments146 146
Issuance of common stock under the employee stock purchase plan (in shares)627,000
Issuance of common stock under the employee stock purchase plan8,691 $ 1 8,690
Repurchases of unvested common stock (in shares)(8,000)
Repurchases of unvested common stock0
Adjustment to initial public offering costs $ 300 300
Common stock, ending balance (in shares) at Apr. 30, 2019125,552,000 125,552,000
Ending balance at Apr. 30, 2019 $ 286,579 $ 126 505,531 0 101 (219,179)
Redeemable convertible preferred stock, beginning balance (in shares) at Jan. 31, 20190
Redeemable convertible preferred stock, beginning balance at Jan. 31, 2019 $ 0
Redeemable convertible preferred stock, ending balance (in shares) at Apr. 30, 20190
Redeemable convertible preferred stock, ending balance at Apr. 30, 2019 $ 0
Common stock, beginning balance (in shares) at Jan. 31, 2019123,897,000
Beginning balance at Jan. 31, 2019277,073 $ 124 483,951 0 (59)(206,943)
Increase (Decrease) in Stockholders' Equity [Roll Forward]
Issuance of common stock upon exercise of stock options (in shares)1,642,000
Issuance of common stock upon exercise of stock options8,030 $ 2 8,028
Vesting of restricted stock units (in shares)13,000
Vesting of restricted stock units0
Vesting of early exercised stock options277 277
Stock-based compensation13,275 13,275
Unrealized net gains on available-for-sale securities160 160
Net loss $ (12,236)(12,236)
Common stock, ending balance (in shares) at Apr. 30, 2019125,552,000 125,552,000
Ending balance at Apr. 30, 2019 $ 286,579 $ 126 $ 505,531 $ 0 $ 101 $ (219,179)

Condensed Consolidated Statem_4

Condensed Consolidated Statements of Cash Flows - USD ($) $ in Thousands9 Months Ended
Apr. 30, 2019Apr. 30, 2018
Cash Flows From Operating Activities
Net loss $ (23,379) $ (26,684)
Adjustments to reconcile net loss to cash provided by operating activities:
Depreciation and amortization expense7,331 5,842
Amortization of acquired intangible assets405 0
Amortization of deferred contract acquisition costs13,505 9,354
Stock-based compensation expense34,088 7,106
Accretion of purchased discounts, net of amortization of investment premiums(1,702)0
Other244 278
Changes in operating assets and liabilities, net of effects of acquisitions:
Accounts receivable(9,540)(1,161)
Deferred contract acquisition costs(21,700)(21,200)
Prepaid expenses and other assets(3,361)(3,341)
Accounts payable(611)(1,620)
Accrued expenses and other liabilities(1,047)2,676
Accrued compensation(1,548)3,212
Deferred revenue47,519 28,187
Net cash provided by operating activities40,204 2,649
Cash Flows From Investing Activities
Purchases of property, equipment and other(16,698)(11,008)
Capitalized internal-use software(1,713)(1,424)
Acquired intangible assets(1,480)0
Payments for business acquisitions, net of cash acquired(823)0
Purchases of short-term investments(272,324)0
Proceeds from maturities of short-term investments139,361 0
Net cash used in investing activities(153,677)(12,432)
Cash Flows From Financing Activities
Proceeds from initial public offering, net of underwriting discounts and commissions0 205,344
Payments of offering costs related to initial public offering(1,797)(3,566)
Proceeds from issuance of common stock upon exercise of stock options23,523 4,345
Proceeds from issuance of common stock related to early exercised stock options0 869
Proceeds from issuance of common stock under the employee stock purchase plan8,691 0
Repurchases of unvested common stock(22)(3,090)
Repayments of notes receivable from stockholders1,905 5,346
Net cash provided by financing activities32,300 209,248
Net increase (decrease) in cash, cash equivalents and restricted cash(81,173)199,465
Cash, cash equivalents and restricted cash at beginning of period136,147 88,546
Cash, cash equivalents and restricted cash at end of period54,974 288,011
Supplemental Disclosure of Cash Flow Information:
Cash paid for income taxes, net of tax refunds1,500 608
Supplemental Disclosure of Noncash Investing and Financing Activities:
Net change in purchased equipment included in accounts payable and accrued expenses1,551 709
Accretion of Series C and D redeemable convertible preferred stock0 6,332
Repurchases of unvested common stock by cancellation of indebtedness0 214
Vesting of early exercised common stock options844 2,912
Net change in deferred offering costs accrued(2,097)1,462
Conversion of redeemable convertible preferred stock to common stock0 207,309
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:
Total cash, cash equivalents and restricted cash $ 136,147 $ 88,546

Business and Summary of Signifi

Business and Summary of Significant Accounting Policies9 Months Ended
Apr. 30, 2019
Organization, Consolidation and Presentation of Financial Statements [Abstract]
Business and Summary of Significant Accounting PoliciesBusiness and Summary of Significant Accounting Policies Description of the Business Zscaler, Inc. ("Zscaler," the "Company," "we," "us," or "our") is a cloud security company that developed a platform incorporating core security functionalities needed to enable users to safely utilize authorized applications and services based on an organization’s policies. Our solution is a purpose-built, multi-tenant, distributed cloud security platform that secures access for users and devices to applications and services, regardless of location. We deliver our solutions using a software-as-a-service ("SaaS") business model and sell subscriptions to customers to access our cloud platform, together with related support services. We were incorporated in Delaware in September 2007 and conduct business worldwide, with presence in North America, Europe and Asia. Our headquarters are in San Jose, California. Reverse Stock Split In March 2018, our board of directors approved an amendment to the Company's amended and restated certificate of incorporation effecting a 2-for-3 reverse stock split of the Company's issued and outstanding shares of common stock and convertible preferred stock. The reverse stock split was effected on March 1, 2018. All issued and outstanding share and per share amounts included in the accompanying condensed consolidated financial statements have been adjusted to reflect this reverse stock split for all periods presented. Initial Public Offering In March 2018, we completed our initial public offering ("IPO") of common stock, in which we sold 13,800,000 shares. The shares were sold at an IPO price of $16.00 per share for net proceeds of $205.3 million, after deducting underwriters' discounts and commissions of $15.5 million. In connection with the IPO, we incurred offering costs of $6.2 million which were recorded in stockholders’ equity as a reduction of the net proceeds received from the IPO. Immediately prior to the closing of the IPO, all our outstanding shares of convertible preferred stock were automatically converted into 72,500,750 shares of common stock on a one-to-one basis. Basis of Presentation The accompanying unaudited condensed consolidated financial statements have been prepared in conformity with accounting principles generally accepted in the United States ("U.S. GAAP") and applicable regulations of the Securities and Exchange Commission ("SEC") regarding interim financial reporting, and include the accounts of the Company and its wholly owned subsidiaries. All intercompany balances and transactions have been eliminated in consolidation. Certain information and note disclosures normally included in the financial statements prepared in accordance with U.S. GAAP have been condensed or omitted pursuant to the applicable required disclosures and regulations of the SEC. Therefore, these unaudited condensed consolidated financial statements and accompanying footnotes should be read in conjunction with the Company's audited consolidated financial statements and related notes in its Annual Report on Form 10-K for the fiscal year ended July 31, 2018 (the "Fiscal 2018 Form 10-K"), as filed with the SEC on September 13, 2018. Interim Unaudited Condensed Consolidated Financial Statements The accompanying condensed balance sheet as of July 31, 2018 was derived from the audited financial statements as of that date. The accompanying interim condensed consolidated financial statements, including the consolidated balance sheets as of April 30, 2019, the consolidated statements of operations for the three and nine months ended April 30, 2019 and 2018, the consolidated statements of comprehensive loss for the three and nine months ended April 30, 2019 and 2018, the consolidated statements of cash flows for the nine months ended April 30, 2019 and 2018, the consolidated statement of redeemable convertible preferred stock and stockholders’ equity (deficit) for the three and nine months ended April 30, 2019 and 2018 are unaudited. The related financial data and the other financial information disclosed in the accompanying notes to these condensed consolidated financial statements are also unaudited. These interim unaudited condensed consolidated financial statements have been prepared on a basis consistent with our annual consolidated financial statements and, in our opinion, include all normal recurring adjustments necessary to state fairly our quarterly results. The results of operations for the three and nine months ended April 30, 2019 are not necessarily indicative of the results to be expected for the fiscal year ending July 31, 2019 or for any other future fiscal year or interim period. JOBS Act Extended Transition Period We are an emerging growth company ("EGC") as defined in the Jumpstart Our Business Startups Act of 2012 (the "JOBS Act"). As an EGC, the JOBS Act allows us to take advantage of specified reduced reporting requirements that are otherwise generally applicable to public companies, including, but not limited to, delayed adoption of new or revised accounting pronouncements applicable to public companies until such pronouncements are made applicable to private companies. We have irrevocably elected not to avail ourselves of the extended transition periods available under the JOBS Act for complying with new and revised accounting standards and, therefore, we are subject to the same new or revised accounting standards as other public companies that are not emerging growth companies. As a result of our transition to large accelerated filer status as of July 31, 2019, we will cease to qualify as an emerging growth company and will no longer have the option to take advantage of the extended transition period. Use of Estimates The preparation of condensed consolidated financial statements in conformity with U.S. GAAP requires management to make estimates, judgments and assumptions that affect the amounts reported and disclosed in the financial statements and accompanying notes. Such estimates include, but are not limited to, the determination of revenue recognition, deferred revenue, deferred contract acquisition costs, valuation of acquired intangible assets, the period of benefit generated from our deferred contract acquisition costs, allowance for doubtful accounts, valuation of common stock options and stock-based awards, useful lives of property and equipment, useful lives of acquired intangible assets, loss contingencies related to litigation and valuation of deferred tax assets. Management determines these estimates and assumptions based on historical experience and on various other assumptions that are believed to be reasonable. Actual results could differ significantly from these estimates, and such differences may be material to the condensed consolidated financial statements. Fiscal Year Our fiscal year ends on July 31. References to fiscal 2019, for example, refer to our fiscal year ending July 31, 2019. Significant Accounting Policies Our significant accounting policies are discussed in the "Index to Consolidated Financial Statements, Note 1. Business and Summary of Significant Accounting Policies" in the Fiscal 2018 Form 10-K. There have been no significant changes to these policies that have had a material impact on our condensed consolidated financial statements and related notes for the three and nine months ended April 30, 2019. The following describes the impact of certain policies. Revenue Recognition We adopted Accounting Standards Codification ("ASC") Topic 606, Revenue From Contracts With Customers ("ASC 606") on August 1, 2017, using the full retrospective transition method. Disaggregation of Revenue Subscription and support revenue is recognized over time and accounted for approximately 99% of our revenue for the three months ended April 30, 2019 and 2018 and approximately 99% of our revenue for the nine months ended April 30, 2019 and 2018. The following table summarizes the revenue by region based on the shipping address of customers who have contracted to use our cloud platform: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 Amount % Revenue Amount % Revenue Amount % Revenue Amount % Revenue (in thousands, except per percentage data) United States $ 38,973 49 % $ 21,722 44 % $ 106,406 49 % $ 61,707 46 % Europe, Middle East and Africa (*) 32,340 41 % 22,439 46 % 89,286 41 % 59,593 44 % Asia Pacific 6,353 8 % 3,733 8 % 16,816 8 % 10,287 8 % Other 1,462 2 % 1,269 2 % 4,220 2 % 2,413 2 % Total $ 79,128 100 % $ 49,163 100 % $ 216,728 100 % $ 134,000 100 % (*) Revenue from the United Kingdom ("U.K.") represented 11% and 12% of our revenue for the three months ended April 30, 2019 and 2018, respectively, and 10% and 12% for the nine months ended April 30, 2019 and 2018, respectively. The following table summarizes the revenue from contracts by type of customer: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 Amount % Revenue Amount % Revenue Amount % Revenue Amount % Revenue (in thousands, except per percentage data) Channel partners $ 75,670 96 % $ 45,496 93 % $ 206,763 95 % $ 122,925 92 % Direct customers 3,458 4 % 3,667 7 % 9,965 5 % 11,075 8 % Total $ 79,128 100 % $ 49,163 100 % $ 216,728 100 % $ 134,000 100 % Contract Balances Contract liabilities consist of deferred revenue and include payments received in advance of performance under the contract. Such amounts are recognized as revenue over the contractual period. For the nine months ended April 30, 2019 and 2018, we recognized revenue of $125.7 million and $75.0 million, respectively, that was included in the corresponding contract liability balance at the beginning of these periods. Remaining Performance Obligations The typical subscription and support term is one three three Costs to Obtain and Fulfill a Contract We capitalize sales commissions and associated payroll taxes paid to internal sales personnel that are incremental to the acquisition of channel partner and direct customer contracts. These costs are recorded as deferred contract acquisition costs in the condensed consolidated balance sheets. The following table summarizes the activity of the deferred contract acquisition costs: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 (in thousands) Beginning balance $ 60,601 $ 39,943 $ 55,910 $ 34,662 Capitalization of contract acquisition costs 8,228 9,987 21,700 21,200 Amortization of deferred contract acquisition costs (4,724) (3,422) (13,505) (9,354) Ending balance $ 64,105 $ 46,508 $ 64,105 $ 46,508 Balance as of the end of the period: Deferred contract acquisition costs, current $ 19,391 $ 13,753 $ 19,391 $ 13,753 Deferred contract acquisition costs, noncurrent 44,714 32,755 44,714 32,755 Total deferred contract acquisition costs $ 64,105 $ 46,508 $ 64,105 $ 46,508 Sales commissions accrued but not paid as of April 30, 2019 and July 31, 2018, totaled $6.8 million and $10.0 million, respectively, which are included within accrued compensation in the condensed consolidated balance sheets. Deferred Offering Costs Deferred offering costs consisted of fees and expenses incurred in connection with our IPO, including legal, accounting, printing and other IPO-related costs. Total deferred offering costs of $6.2 million were reclassified to stockholders' equity (deficit) as a reduction of the net proceeds received from the IPO. Recently Adopted Accounting Pronouncements In January 2017, the Financial Accounting Standard Board ("FASB") issued Accounting Standard Update ("ASU") No. 2017-01, Business Combinations (Topic 805): Clarifying the Definition of a Business . The amendment was issued to clarify the definition of a business with the objective of adding guidance to assist entities with evaluating whether transactions should be accounted for as acquisitions of assets or businesses. This standard provides a screen test to determine when a set (inputs and processes that produce an output) is not a business. The screen requires that when substantially all of the fair value of the gross assets acquired is concentrated in a single identifiable asset or a group of similar identifiable assets, the set is not a business. We adopted this standard as of August 1, 2018, and it did not have a material impact to our consolidated financial statements. In January 2017, the FASB issued ASU 2017-04, Intangibles-Goodwill and Other (Topic 350) , which simplifies the accounting for goodwill impairments by eliminating step 2 from the goodwill impairment test. Instead, if the carrying amount of a reporting unit exceeds its fair value, an impairment loss shall be recognized in an amount equal to that excess, limited to the total amount of goodwill allocated to that reporting unit. For public business entities, this standard is effective for annual periods beginning after December 15, 2019. Early adoption is permitted. We early adopted this standard on February 1, 2019, and it did not have a material impact to our consolidated financial statements. In May 2017, the FASB issued ASU No. 2017-09, Compensation—Stock Compensation (Topic 718): Scope of Modification Accounting , which provides clarity in applying the guidance in Topic 718 around modifications of share-based payment awards. We adopted this standard as of August 1, 2018, and it did not have a material impact to our consolidated financial statements. In August 2016, the FASB issued ASU No. 2016-15, Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments . The new standard eliminates the diversity in practice related to the classification of certain cash receipts and payments for debt prepayment or extinguishment costs, the maturing of a zero-coupon bond, the settlement of contingent liabilities arising from a business combination, proceeds from insurance settlements, distributions from certain equity method investees and beneficial interests obtained in a financial asset securitization. We adopted this standard as of August 1, 2018 using the retrospective transition method, and it did not have a material impact to our consolidated financial statements. In November 2016, the FASB issued ASU No. 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash , which requires that amounts generally described as restricted cash or restricted cash equivalents be included with cash and cash equivalents when reconciling the beginning-of-period and end-of-period total amounts shown on the statement of cash flows. We adopted this standard as of August 1, 2018 using the retrospective transition method and we have adjusted our prior period condensed consolidated statement of cash flows to conform to the current presentation. In June 2018, the FASB issued ASU No. 2018-07, Compensation—Stock Compensation (Topic 718): Improvements to Nonemployee Share-Based Payment Accounting , which simplifies the accounting for equity awards granted to nonemployees. For public business entities, it is effective for fiscal years beginning after December 15, 2018, and interim periods therein. Early adoption is permitted. We early adopted this standard as of August 1, 2018 using the prospective transition method, which resulted in a cumulative-effect adjustment of $0.3 million recognized within stockholders' equity, as a reduction of additional paid-in capital against accumulated deficit, on the adoption date. In August 2018, the FASB issued ASU No. 2018-15, “Intangibles-Goodwill and Other-Internal-Use Software (Subtopic 350-40): Customer’s Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement That Is a Service Contract ,” which aligns the requirements for capitalizing implementation costs incurred in a hosting arrangement that is a service contract with the requirements for capitalizing implementation costs incurred to develop or obtain internal-use software. The new standard requires capitalized costs to be amortized on a straight-line basis generally over the term of the arrangement, and the financial statement presentation for these capitalized costs would be the same as that of the fees related to the hosting arrangements. For public business entities, this standard is effective for fiscal years beginning after December 15, 2019, and interim periods within those fiscal years. Early adoption is permitted. We early adopted this standard as of August 1, 2018 using the prospective transition method, and it did not have a material impact to our consolidated financial statements. In August 2018, the SEC adopted the final rule under SEC Release No. 33-10532, " Disclosure Update and Simplification ," amending certain disclosure requirements that have become redundant, duplicative, overlapping, outdated or superseded. In addition, the amendments expanded the disclosure requirements on the analysis of stockholders' equity for interim financial statements. Under the amendments, an analysis of changes in each caption of stockholders' equity presented in the balance sheet must be provided in a note or separate statement. The analysis should present a reconciliation of the beginning balance to the ending balance of each period for which a statement of comprehensive income is required to be filed. The final rule was effective November 5, 2018. We early adopted this requirement as of August 1, 2018, presenting the activity of the stockholder's equity accounts in the accompanying condensed statements of redeemable convertible preferred stock and stockholders' equity (deficit) for the periods presented. Recently Issued Accounting Pronouncements Not Yet Adopted In February 2016, the FASB issued ASU No. 2016-02, Leases (Topic 842) ("ASU 2016-02"), which requires lessees to recognize most leases on their balance sheets that do not meet the definition of a short-term lease but recognize the expenses on their statements of operations in a manner similar to current accounting rules. In July 2018, the FASB issued ASU 2018-10, Leases (Topic 842), Codification Improvements ("ASU 2018-10"), which clarifies certain adoption provisions of the new leases standard such as the application of implicit rate, lessee reassessment of lease classification and certain transition adjustments. In addition, in July 2018, the FASB issued ASU 2018-11, Leases (Topic 842), Targeted Improvements ("ASU 2018-11"), which allows for the adoption of ASU 2016-02 to be applied at the beginning of the year of adoption, as opposed to at the beginning of the earliest year presented in the financial statements. These standards are effective for fiscal years beginning after December 15, 2018, with early adoption permitted. We are currently evaluating the effect of these standards; however, we anticipate the most significant effects will relate to the recognition of right-of-use assets and lease liabilities arising from our real estate and data center operating leases that do not meet the definition of a short-term lease on the adoption date and providing qualitative and quantitative disclosures in the notes to the condensed consolidated financial statements. In June 2016, the FASB issued ASU No. 2016-13, Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments . This ASU amends guidance on reporting credit losses for assets held at amortized cost basis and available-for-sale debt securities to require that credit losses on available-for-sale debt securities be presented as an allowance rather than as a write-down. The measurement of credit losses for newly recognized financial assets and subsequent changes in the allowance for credit losses are recorded in the statements of operations. For public business entities, it is effective for fiscal years beginning after December 15, 2019, including interim periods within those fiscal years. Early adoption is permitted. We are currently evaluating the potential impact of this standard on our consolidated financial statements.

Cash Equivalents and Short-Term

Cash Equivalents and Short-Term Investments9 Months Ended
Apr. 30, 2019
Cash and Cash Equivalents [Abstract]
Cash Equivalents and Short-Term InvestmentsCash Equivalents and Short-Term Investments Cash equivalents and short-term investments consisted of the following as of April 30, 2019: Amortized Unrealized Unrealized (in thousands) Cash equivalents: Money market funds $ 39,977 $ — $ — $ 39,977 Total cash equivalents $ 39,977 $ — $ — $ 39,977 Short-term investments: U.S. treasury securities $ 158,287 $ 63 $ (8) $ 158,342 U.S. government agency securities 40,695 6 (33) 40,668 Corporate debt securities 98,679 95 (22) 98,752 Total short-term investments $ 297,661 $ 164 $ (63) $ 297,762 Total cash equivalents and short-term investments $ 337,638 $ 164 $ (63) $ 337,739 Cash equivalents and short-term investments consisted of the following as of July 31, 2018: Amortized Unrealized Unrealized (in thousands) Cash equivalents: Money market funds $ 74,408 $ — $ — $ 74,408 U.S. treasury securities 17,488 — — 17,488 U.S. government agency securities 1,999 — — 1,999 Corporate debt securities 11,010 — (1) 11,009 Total cash equivalents $ 104,905 $ — $ (1) $ 104,904 Short-term investments: U.S. treasury securities $ 55,768 $ — $ (17) $ 55,751 U.S. government agency securities 17,953 — (19) 17,934 Corporate debt securities 89,362 1 (88) 89,275 Total short-term investments $ 163,083 $ 1 $ (124) $ 162,960 Total cash equivalents and short-term investments $ 267,988 $ 1 $ (125) $ 267,864 The amortized cost and fair value of our short-term investments based on their stated maturities consisted of the following as of April 30, 2019: Amortized Fair Value (in thousands) Due within one year $ 208,501 $ 208,521 Due between one and two years 89,160 89,241 Total short-term investments $ 297,661 $ 297,762 Short-term investments that were in an unrealized loss position consisted of the following as of April 30, 2019: Less than 12 Months Greater than 12 Months Total Fair Unrealized Fair Unrealized Fair Unrealized (in thousands) U.S. treasury securities $ 49,690 $ (8) $ — $ — $ 49,690 $ (8) U.S. government agency securities 32,946 (33) — — 32,946 (33) Corporate debt securities 41,189 (22) — — 41,189 (22) Total investments in a loss position $ 123,825 $ (63) $ — $ — $ 123,825 $ (63) Short-term investments that were in an unrealized loss position consisted of the following as of July 31, 2018: Less than 12 Months Greater than 12 Months Total Fair Unrealized Fair Unrealized Fair Unrealized (in thousands) U.S. treasury securities $ 55,750 $ (17) $ — $ — $ 55,750 $ (17) U.S. government agency securities 17,934 (19) — — 17,934 (19) Corporate debt securities 83,332 (88) — — 83,332 (88) Total investments in a loss position $ 157,016 $ (124) $ — $ — $ 157,016 $ (124) We review the individual securities that have unrealized losses in our short-term investment portfolio on a regular basis to evaluate whether or not any security has experienced an other-than-temporary decline in fair value. We evaluate, among others, whether we have the intention to sell any of these investments and whether it is more likely than not that we will be required to sell any of them before recovery of the amortized cost basis. Based on this evaluation, we determined that there were no other-than-temporary impairments associated with our short-term investments as of April 30, 2019 and July 31, 2018.

Fair Value Measurements

Fair Value Measurements9 Months Ended
Apr. 30, 2019
Fair Value Disclosures [Abstract]
Fair Value MeasurementsFair Value Measurements We measure our financial assets and liabilities at fair value at each reporting period using a fair value hierarchy which requires us to maximize the use of observable inputs and minimize the use of unobservable inputs when measuring fair value. A financial instrument’s classification within the fair value hierarchy is based upon the lowest level of input that is significant to the fair value measurement. Our money market funds are classified within Level I due to the highly liquid nature of these assets which also have quoted prices in active markets. Certain of our investments in available-for-sale securities (i.e., U.S. treasury securities, U.S. government agency securities and corporate debt securities) are classified within Level II. The fair value of these securities is priced by using inputs based on non-binding market consensus prices that are primarily corroborated by observable market data or quoted market prices for similar instruments. Assets that are measured at fair value on a recurring basis consisted of the following as of April 30, 2019: Level I Level II Level III Total Quoted Prices in Active Markets for Identical Assets Significant Other Observable Inputs Significant Unobservable Inputs (in thousands) Cash equivalents: Money market funds $ 39,977 $ 39,977 $ — $ — Total cash equivalents $ 39,977 $ 39,977 $ — $ — Short-term investments: U.S. treasury securities $ 158,342 $ — $ 158,342 $ — U.S. government agency securities 40,668 — 40,668 — Corporate debt securities 98,752 — 98,752 — Total short-term investments $ 297,762 $ — $ 297,762 $ — Assets that are measured at fair value on a recurring basis consisted of the following as of July 31, 2018: Level I Level II Level III Total Quoted Prices in Active Markets for Identical Assets Significant Other Observable Inputs Significant Unobservable Inputs (in thousands) Cash equivalents: Money market funds $ 74,408 $ 74,408 $ — $ — U.S. treasury securities 17,488 — 17,488 — U.S. government agency securities 1,999 — 1,999 — Corporate debt securities 11,009 — 11,009 — Total cash equivalents $ 104,904 $ 74,408 $ 30,496 $ — Short-term investments: U.S. treasury securities $ 55,751 $ — $ 55,751 $ — U.S. government agency securities 17,934 — 17,934 — Corporate debt securities 89,275 — 89,275 — Total short-term investments $ 162,960 $ — $ 162,960 $ — We did not have transfers between levels of the fair value hierarchy of assets measured at fair value during the periods presented.

Property and Equipment

Property and Equipment9 Months Ended
Apr. 30, 2019
Property, Plant and Equipment [Abstract]
Property and EquipmentProperty and Equipment Property and equipment consisted of the following: April 30, 2019 July 31, 2018 (in thousands) Hosting equipment $ 47,395 $ 30,743 Computers and equipment 2,658 2,335 Purchased software 1,311 1,324 Capitalized internal-use software 7,959 6,163 Furniture and fixtures 1,569 1,478 Leasehold improvements 2,135 2,123 Property and equipment, gross 63,027 44,166 Less: Accumulated depreciation and amortization (31,051) (24,401) Total property and equipment, net $ 31,976 $ 19,765 Depreciation and amortization expense on property and equipment was $2.7 million and $1.9 million for the three months ended April 30, 2019 and 2018, respectively, and $7.3 million and $5.8 million for the nine months ended April 30, 2019 and 2018, respectively.

Acquired Intangible Assets

Acquired Intangible Assets9 Months Ended
Apr. 30, 2019
Goodwill and Intangible Assets Disclosure [Abstract]
Acquired Intangible AssetsAcquired Intangible Assets Acquired intangible assets consist of developed technology and customer relationships acquired through asset and business acquisitions. Acquired intangible assets are amortized using the straight-line method over their useful lives and are included within other noncurrent assets in the condensed consolidated balance sheets. Goodwill was immaterial for all the periods presented. The changes in acquired intangible assets for the nine months ended April 30, 2019 and the net book value as of April 30, 2019 and July 31, 2018 consisted of the following: Intangible Assets, Gross Accumulated Amortization Intangible Assets, Net July 31, 2018 Additions April 30, 2019 Jul 31, 2018 Amortization Expense April 30, 2019 July 31, 2018 April 30, 2019 Weighted Average Useful life (in thousands) (years) Developed technology $ — $ 2,456 $ 2,456 $ — $ (402) $ (402) $ — $ 2,054 2.5 Customer relationships — 160 160 — (3) (3) — 157 4.9 $ — $ 2,616 $ 2,616 $ — $ (405) $ (405) $ — $ 2,211 2.7 Amortization expense of developed technology and customer relationships is recorded primarily within cost of revenues and sales and marketing expenses in the condensed statements of operations. Future amortization expense of acquired intangible assets consisted of the following as of April 30, 2019: Amortization Year ending July 31, (in thousands) 2019 (remaining three months) $ 213 2020 851 2021 851 2022 244 2023 32 2024 20 Total $ 2,211

Commitments and Contingencies

Commitments and Contingencies9 Months Ended
Apr. 30, 2019
Commitments and Contingencies Disclosure [Abstract]
Commitments and ContingenciesCommitments and Contingencies Operating Leases We lease our office space under various operating lease agreements expiring at various dates through September 2026. Effective April 2019, we entered into a sublease agreement, or lease agreement, for approximately 172,000 square feet of corporate office space in San Jose, California (the “leased premises”), which will serve as our new corporate headquarters. The lease agreement has a commencement date of October 1, 2019, and its initial lease term expires in September 2026. We will initially occupy approximately 69,000 square feet with the remainder of the leased premises to be occupied in phases over the initial term of the lease, with full occupancy occurring by October 2025. The total base rent through the end of the initial lease term is approximately $39.1 million. In addition to the base rent, we will also be responsible for our pro rata portion of operating and other related expenses. The lease contains escalating rent payments and lease incentives. In connection with this lease agreement, we were required to issue an unsecured letter of credit for $2.8 million to the sublessor to secure our payment obligations. Future non-cancelable minimum lease payments under this lease agreement are reflected in the below table. As of April 30, 2019, we have not taken possession of the initial phase and accordingly, we have not recognized any rent expense associated with this lease agreement during the three months ended April 30, 2019. Future minimum payments under our non-cancelable operating leases consisted of the following as of April 30, 2019: Operating (in thousands) Year ending July 31, 2019 (remaining three months) $ 840 2020 5,204 2021 5,867 2022 4,476 2023 5,878 2024 6,309 Thereafter 15,977 Total $ 44,551 Rent expense was $0.8 million and $0.7 million for the three months ended April 30, 2019 and 2018, respectively, and $2.2 million and $1.8 million for the nine months ended April 30, 2019 and 2018, respectively. Data Center Contract Commitments We enter into long-term non-cancelable agreements with providers in various countries to purchase data center capacity, such as bandwidth and colocation space, for our cloud platform. Future minimum payments under our non-cancelable data center contracts consisted of the following as of April 30, 2019: Data Center Contracts (in thousands) Year ending July 31, 2019 (remaining three months) $ 2,584 2020 8,410 2021 5,535 2022 1,560 2023 78 Total $ 18,167 Bandwidth and colocation expenses are recognized as cost of revenue and were $3.6 million and $2.6 million for the three months ended April 30, 2019 and 2018, respectively, and $10.0 million and $6.9 million for the nine months ended April 30, 2019 and 2018, respectively. Non-cancelable Purchase Obligations In the normal course of business, we enter into non-cancelable purchase commitments with various parties to purchase products and services such as technology equipment, subscription-based cloud service arrangements, corporate events and consulting services. As of April 30, 2019 and July 31, 2018, we had outstanding non-cancelable purchase obligations with a term of 12 months or longer of $2.3 million and $3.1 million, respectively.
Legal MattersLegal Matters Symantec Litigation We are currently involved in legal proceedings with Symantec Corporation ("Symantec"). On December 12, 2016, Symantec filed a complaint, which we refer to as Symantec Case 1, in the U.S. District Court for the District of Delaware alleging that "Zscaler’s cloud security platform" infringes U.S. Patent Nos. 6,279,113, 7,203,959 ("’959 patent"), 7,246,227 ("’227 patent"), 7,392,543, 7,735,116, 8,181,036 and 8,661,498. The complaint seeks compensatory damages, an injunction, enhanced damages and attorney fees. On August 2, 2017, the court granted our motion to transfer Symantec Case 1 from the District of Delaware to the Northern District of California. On March 23, 2018, the Northern District of California court granted our motion to dismiss the asserted claims of the ’959 and ’227 patents as invalid based on unpatentable subject matter. On April 18, 2017, Symantec filed a second complaint, which we refer to as Symantec Case 2, in the U.S. District Court for the District of Delaware alleging that "Zscaler’s cloud security platform" infringes U.S. Patent Nos. 6,285,658 ("’658 patent"), 7,360,249 ("’249 patent"), 7,587,488 ("’488 patent"), 8,316,429 ("’429 patent"), 8,316,446 ("’446 patent"), 8,402,540 and 9,525,696 ("’696 patent"). The complaint seeks compensatory damages, an injunction, enhanced damages and attorney fees. On June 22, 2017, Symantec filed a notice of voluntary dismissal of its complaint in Symantec Case 2 along with a new complaint alleging infringement of the same patents and adding Symantec Limited as a plaintiff and alleging willful infringement of the ’429 and ’446 patents. On July 31, 2017, the court granted our motion to transfer Symantec Case 2 from the District of Delaware to the Northern District of California. On May 21, 2018, Symantec filed an amended complaint adding allegations of willful infringement of all of the asserted patents in Symantec Case 2. On December 12, 2018, Symantec filed a notice of voluntary dismissal with prejudice of the ’658, ’249, and ’696 Patents asserted in Symantec Case 2. On March 4, 2019, the court granted our motion to dismiss the asserted claims of the ’488 patent as invalid based on unpatentable subject matter. We have also received letters from Symantec alleging that our "cloud security platform" infringes U.S. Patent Nos. 7,031,327, 7,496,661, 7,543,036 and 7,624,110. We believe that our technology does not infringe Symantec’s asserted patents and that these patents are invalid. Should Symantec prevail with its infringement allegations, we could be required to pay substantial damages for past and future sales and/or licensing of our services, enjoined from making, using, selling or otherwise disposing of our services if a license or other right to continue selling our services is not made available to us, and required to pay substantial ongoing royalties and comply with unfavorable terms if such a license is made available to us. Any of these outcomes could result in a material adverse effect on our business. Even if we were to prevail, this litigation could be costly and time-consuming, divert the attention of our management and key personnel from our business operations, deter distributors from selling or licensing our services, and dissuade potential customers from purchasing our services, which would also materially harm our business. The expense of litigation and the timing of this expense from period to period are difficult to estimate, subject to change and could adversely affect our results of operations. In addition, any public announcements of the results of any proceedings in Symantec Case 1 or Case 2 could be negatively perceived by industry or financial analysts and investors, and could cause our stock price to experience volatility or decline. We have not recorded a liability with respect to Symantec Case 1 or Case 2 based on our determination that a loss in either case is not probable under the applicable accounting standards. We are vigorously defending Symantec Case 1 and Case 2. We are unable to predict the likelihood of success of Symantec’s infringement claims. Finjan Litigation On December 5, 2017, Finjan, Inc. filed a complaint, in the U.S. District Court for the Northern District of California, alleging that certain of our products infringed four U.S. patents held by Finjan, Inc. and seeking compensatory damages, an injunction, enhanced damages and attorney fees. On April 30, 2019, we entered into patent license and settlement agreements with Finjan, Inc. and its affiliates (collectively "Finjan"), resolving all claims in the lawsuit, and made a payment of $7.3 million to Finjan, Inc. Pursuant to the agreements, Finjan provided us with a worldwide fully paid license to the broader Finjan patent portfolio, releases for past damages, and covenants not to sue. On May 1, 2019, the court dismissed Finjan, Inc.’s complaint with prejudice. We determined that there would be no material future economic benefit from the acquired Finjan license and accordingly, we recorded an incremental expense of $4.1 million as an operating expense within general and administrative expenses in the condensed consolidated statement of operations in the three months ended April 30, 2019. In prior periods, we previously had recorded related accruals for $0.7 million in the three months ended October 31, 2017 and $2.5 million in fiscal 2017. Other Litigation and Claims In addition, from time to time we are a party to various litigation matters and subject to claims that arise in the ordinary course of business, including patent, commercial, product liability, employment, class action, whistleblower and other litigation and claims, as well as governmental and other regulatory investigations and proceedings. In addition, third parties may from time to time assert claims against us in the form of letters and other communications. Except as otherwise described above, there is no pending or threatened legal proceeding to which we are a party that, in our opinion, is likely to have a material adverse effect on our future financial results or operations; however, the results of litigation and claims are inherently unpredictable. Regardless of the outcome, litigation can have an adverse impact on us because of defense and settlement costs, diversion of management resources and other factors. The expense of litigation and the timing of this expense from period to period are difficult to estimate, subject to change and could adversely affect our results of operations.

Preferred Stock

Preferred Stock9 Months Ended
Apr. 30, 2019
Temporary Equity Disclosure [Abstract]
Preferred StockPreferred Stock Upon completion of our IPO, as further described in Note 1, all shares of convertible preferred stock then outstanding, totaling 72,500,750 shares, were automatically converted into an equivalent number of shares of common stock on a one-to-one basis and their carrying value, totaling $207.3 million, inclusive of accretion of Series C and D redeemable convertible preferred stock of $24.7 million, was reclassified to stockholders' equity (deficit). Prior to the IPO, we recognized accretion to the redemption price of Series C and D redeemable convertible preferred stock. Accretion was recognized as a reduction of additional paid-in capital with a corresponding increase to the carrying value of Series C and D redeemable convertible preferred stock. Upon completion of the IPO, the accretion rights of Series C and D redeemable convertible preferred stock were terminated. We recognized accretion of Series C and D redeemable convertible preferred stock of $1.2 million for the three months ended April 30, 2018 and $6.3 million for the nine months ended April 30, 2018.

Common Stock

Common Stock9 Months Ended
Apr. 30, 2019
Equity [Abstract]
Common StockCommon Stock Holders of our common stock are entitled to one vote for each share of common stock held and are not entitled to receive dividends unless declared by our board of directors. Shares of common stock reserved for future issuance consisted of the following as of April 30, 2019: Underlying Shares (in thousands) Equity awards outstanding: Stock options 10,243 Unvested restricted stock units 3,437 Unvested performance stock units (*) 1,460 Share purchase rights committed under the employee stock purchase plan 1,354 Equity awards available for future grants: Equity incentive plans 15,542 Employee stock purchase plan 1,417 Total reserved shares of common stock for future issuance 33,453 (*) Unvested performance stock units corresponding to fiscal 2019 are calculated based on the maximum number of shares that holders would be entitled if the maximum achievement of the target performance metrics is attained. Unvested performance stock units corresponding to fiscal years beyond fiscal 2019 are calculated based on the target number of shares granted. Refer to Note 9 to our condensed consolidated financial statements for further information.

Stock Based Compensation

Stock Based Compensation9 Months Ended
Apr. 30, 2019
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]
Stock-Based CompensationStock-Based Compensation Equity Incentive Plans We adopted the Fiscal Year 2018 Equity Incentive Plan (the "2018 Plan") in fiscal 2018 and the 2007 Stock Plan (the "2007 Plan") in fiscal 2008, collectively referred to as the "Plans." Equity incentive awards which may be granted to eligible participants under the Plans include restricted stock units, restricted stock, stock options, nonstatutory stock options, stock appreciation rights, performance units and performance shares. In March 2018, in connection with our IPO, the 2007 Plan was terminated along with its remaining balance of shares of common stock available for grant. With the establishment of the 2018 Plan, we no longer grant stock-based awards under the 2007 Plan and any shares underlying stock options that expire or terminate or are forfeited or repurchased by us under the 2007 Plan are automatically transferred to the 2018 Plan. As of April 30, 2019, we have reserved a total of approximately 18,688,000 shares of common stock for the issuance of equity awards under the 2018 Plan, of which approximately 15,542,000 shares were available for grant. Stock Options Under the Plans, the exercise price of a stock option grant must not be less than 100% of the fair market value of the common stock on the date of grant. Generally, stock options vest over four ten seven The activity of stock options for the nine months ended April 30, 2019 consisted of the following: Outstanding Weighted-Average Weighted-Average Aggregate (in thousands, except per share amounts) Balance as of July 31, 2018 16,175 $ 6.20 5.1 $ 470,860 Stock options exercised (5,153) $ 4.57 $ 221,831 Stock options canceled, forfeited or expired (779) $ 6.60 Balance as of April 30, 2019 10,243 $ 7.00 4.8 $ 628,067 Exercisable and expected to vest as of July 31, 2018 5,499 $ 3.97 4.0 $ 172,317 Exercisable and expected to vest as of April 30, 2019 3,646 $ 5.40 4.1 $ 229,351 The aggregate intrinsic value of the stock options exercised represents the difference between the fair value of our common stock on the date of exercise and their exercise price. The total intrinsic value of options exercised for the nine months ended April 30, 2019 and 2018 was $221.8 million and $11.0 million, respectively. Since our IPO, we have not granted additional stock options. The weighted-average grant-date fair value per share of stock options granted for the nine months ended April 30, 2018 was $3.75. We estimated the fair value of stock options granted during the nine months ended April 30, 2018 using the Black-Scholes option pricing model and the following assumptions : Underlying Assumptions Expected term (in years) 4.6 - 5.1 Expected stock price volatility 40.3% - 42.3% Risk-free interest rate 1.7% - 2.8% Dividend yield 0.0% Restricted Stock Units The 2018 Plan allows for the grant of restricted stock units ("RSUs"). Generally, RSUs are subject to a four The activity of RSUs for the nine months ended April 30, 2019 consisted of the following: RSUs Outstanding Weighted-Average Grant Date Fair Value per Share Aggregate (in thousands, except per share amounts) Balance as of July 31, 2018 209 $ 26.26 $ 7,394 Granted 3,320 $ 42.37 Vested (16) $ 37.69 $ 1,008 Canceled or forfeited (76) $ 41.38 Balance as of April 30, 2019 3,437 $ 41.44 $ 234,827 Performance Stock Units The 2018 Plan allows for the grant of performance stock units ("PSUs"). In October 2018, the compensation committee of our board of directors approved the grant of PSUs to certain members of our executive team corresponding to the performance periods of fiscal 2019, 2020, 2021 and 2022. In addition, the compensation committee determined and approved corporate performance metrics for fiscal 2019. The corporate performance metrics corresponding to future fiscal years will be determined and approved in the future for each corresponding fiscal year. Holders of PSUs corresponding to the performance period of fiscal 2019 have the ability to receive up to 150% of the target number of shares granted if maximum achievement of target performance metrics is achieved. The right to receive such awards is subject to achievement of the defined corporate performance metrics corresponding for each fiscal year and continuous service by the employee. Any earned awards are subject to additional time-based vesting in accordance with the respective award agreement. Since the performance conditions of future fiscal years have not been established as of April 30, 2019, these awards are not considered granted for accounting purposes. Therefore, we have not recognized stock-based compensation expense for PSUs corresponding to fiscal years beyond 2019. The number of unvested PSUs outstanding based on the target number of shares granted consisted of the following as of April 30, 2019: Underlying Shares Performance periods (in thousands) Fiscal 2019 464 Fiscal 2020 464 Fiscal 2021 150 Fiscal 2022 150 Total 1,228 The activity of PSUs for the nine months ended April 30, 2019 for which performance conditions have been established and are expected to be earned consisted of the following: Underlying Shares Weighted-Average Grant Date Fair Value per Share Aggregate (in thousands, except for share amounts) Balance as of July 31, 2018 — — $ — Granted 464 $ 36.90 Vested — — $ — Canceled or forfeited — — Balance as of April 30, 2019 464 $ 36.90 $ 31,712 Employee Stock Purchase Plan We adopted the Fiscal Year 2018 Employee Stock Purchase Plan (the "ESPP") in the third quarter of fiscal 2018. As of April 30, 2019, a total of approximately 3,398,000 shares of common stock were reserved for issuance under the ESPP. The ESPP provides eligible employees with an opportunity to purchase shares of our common stock through payroll deductions of up to 15% of their eligible compensation. A participant may purchase a maximum of 3,000 shares of common stock during a purchase period. The purchase price of the shares shall be 85% of the lower of the fair market value of our common stock on (i) the first trading day of the applicable offering period and (ii) the last trading day of each purchase period in the related offering period. The ESPP provides for consecutive offering periods that will typically have a duration of approximately 24 months in length and is comprised of four purchase periods of approximately six ESPP employee payroll contributions accrued at April 30, 2019 and July 31, 2018, totaled $6.1 million and $4.6 million, respectively, and are included within accrued compensation in the condensed consolidated balance sheets. Employee payroll contributions ultimately used to purchase shares will be reclassified to stockholders' equity on the purchase date. The fair value of the share purchase rights granted under the ESPP for the nine months ended April 30, 2019 was estimated on the date of grant using the Black-Scholes option pricing model with the following assumptions: Underlying Assumptions Expected term (in years) 0.5 - 2.0 Expected stock price volatility 44.0% - 61.9% Risk-free interest rate 2.5% - 2.7% Dividend yield 0.0% Early Exercise of Employee Options The 2007 Plan allowed for the early exercise of stock options for certain individuals as determined by the board of directors. The consideration received for an early exercise of an option is considered to be a deposit of the exercise price and is reflected as liability in the condensed consolidated balance sheets and reclassified to additional paid-in capital as the awards vest. Upon an employee’s termination, we have the option to repurchase unvested shares at a price per share equal to the lesser of the fair market value of the shares at the time of the repurchase or the original purchase price. During the nine months ended April 30, 2019 and 2018, we reclassified to additional paid-in capital $0.8 million and $2.9 million, respectively, related to awards vested during these periods. As of April 30, 2019 and July 31, 2018, the number of shares of common stock subject to repurchase was approximately 154,000 shares and 423,000 shares with an aggregate purchase price of $0.7 million and $1.6 million, respectively. Notes Receivable from Stockholders Prior to fiscal 2017, we entered into notes receivable agreements with certain of our current and former executives and employees in connection with the exercise of their stock options. The outstanding principal amount and related accrued interest on the notes are presented as contra-equity in the condensed consolidated balance sheets until the notes are fully settled. As of July 31, 2018, the carrying amount of the outstanding notes receivable was $2.1 million, inclusive of accrued interest of $0.1 million. During the nine months ended April 30, 2019, the principal amount and accrued interest of the outstanding notes were fully repaid, resulting in cash proceeds of $2.1 million. Stock-based Compensation Expense The components of stock-based compensation expense recognized in the condensed consolidated statements of operations consisted of the following: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 (in thousands) Cost of revenue $ 686 $ 199 $ 1,808 $ 434 Sales and marketing 6,459 1,493 14,777 3,263 Research and development 4,194 960 11,387 1,852 General and administrative 1,936 657 6,116 1,557 Total stock-based compensation expense $ 13,275 $ 3,309 $ 34,088 $ 7,106 As of April 30, 2019, the unrecognized stock-based compensation cost was $155.1 million, which we expect to amortize over a weighted-average period of 3.3 years.

Income Taxes

Income Taxes9 Months Ended
Apr. 30, 2019
Income Tax Disclosure [Abstract]
Income TaxesIncome Taxes Our tax provision for interim periods is determined using an estimate of our annual effective tax rate, adjusted for discrete items, if any, that arise during the period. Each quarter, we update our estimate of the annual effective tax rate, and if the estimated annual effective tax rate changes, we make a cumulative adjustment in such period. Our quarterly tax provision, and estimate of our annual effective tax rate, is subject to variation due to several factors, including variability in pre-tax income (or loss), the mix of jurisdictions to which such income relates, changes in how we do business, and tax law developments. Our estimated annual effective tax rate for the year differs from the U.S. statutory rate of 21% primarily due to the earnings of our foreign subsidiaries being taxed at rates higher than the U.S. statutory rate. We recorded a provision for income taxes of $0.6 million and $0.4 million for the three months ended April 30, 2019 and 2018, respectively, and $1.5 million and $1.0 million for the nine months ended April 30, 2019 and 2018, respectively. We are subject to income tax in the U.S. as well as other tax jurisdictions in which we conduct business. Earnings from our non-U.S. operations are subject to income taxes in the countries in which we operate. Our provision for income taxes consists primarily of both income and withholding taxes in the foreign jurisdictions in which we conduct business. The realization of deferred tax assets is dependent upon the generation of sufficient taxable income of the appropriate character in future periods. We assess our ability to realize the deferred tax assets on a quarterly basis and we establish a valuation allowance if it is more-likely-than-not that some portion of the deferred tax assets will not be realized. We weigh all available positive and negative evidence, including our earnings history and results of recent operations, scheduled reversals of deferred tax liabilities, projected future taxable income and tax planning strategies. Due to the weight of objectively verifiable negative evidence, including our history of losses in certain jurisdictions, we believe that it is more likely than not that our U.S. federal and state deferred tax assets will not be realized. Accordingly, we have maintained a valuation allowance on our U.S. federal and state deferred tax assets. During the three months ended October 31, 2018, we determined that due to the weight of objectively verifiable negative evidence, our U.K. deferred tax assets are no longer more likely than not to be realized in the future and a full valuation allowance was recorded. We have maintained the valuation allowance for fiscal 2019. On December 22, 2017, the Tax Cuts and Jobs Act of 2017 or the Tax Act was enacted. The Tax Act contains several key tax provisions that affect us, including, but not limited to, reducing the U.S. federal corporate tax rate from 34% to 21% imposing a one-time mandatory transition tax on previously untaxed foreign earnings, and changing rules related to the use of net operating loss carryforwards created in tax years beginning after December 31, 2017. In December 2017, the SEC staff issued Staff Accounting Bulletin No. 118, Income Tax Accounting Implications of the Tax Cuts and Jobs Act (“SAB 118”), which allows us to record provisional amounts during a measurement period not to extend beyond one year past the enactment date.

Net Loss Per Share Attributable

Net Loss Per Share Attributable to Common Stockholders9 Months Ended
Apr. 30, 2019
Earnings Per Share [Abstract]
Net Loss Per Share Attributable to Common StockholdersNet Loss Per Share Attributable to Common Stockholders The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders: Three Months Ended Nine Months Ended 2019 2018 2019 2018 (in thousands) Net loss $ (12,236) $ (8,771) $ (23,379) $ (26,684) Accretion of Series C and D redeemable convertible preferred stock — (1,223) — (6,332) Net loss attributable to common stockholders $ (12,236) $ (9,994) $ (23,379) $ (33,016) Net loss per share attributable to common stockholders, basic and diluted $ (0.10) $ (0.14) $ (0.19) $ (0.73) Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted 124,672 73,818 122,644 45,047 Since we have reported net losses for all periods presented, we have excluded all potentially dilutive securities from the calculation of the diluted net loss per share attributable to common stockholders as their effect is antidilutive and accordingly, basic and diluted net loss per share attributable to common stockholders is the same for all periods presented. The following table summarizes the unweighted outstanding potentially dilutive securities that were excluded from the computation of the diluted net loss per share attributable to common stockholders because the impact of including them would have been antidilutive: April 30, 2019 2018 (in thousands) Outstanding stock options 10,243 16,935 Shares subject to repurchase from early exercised stock options 154 773 Share purchase rights under the ESPP 1,354 2,085 Unvested RSUs 3,437 — Unvested PSUs (*) 464 — Total 15,652 19,793 (*) The number of unvested PSUs is based on the target number of shares granted and excludes unvested PSUs for which performance conditions have not been established as of April 30, 2019, as they are not considered outstanding for accounting purposes. Refer to Note 9 for further information.

Significant Customers and Geogr

Significant Customers and Geographic Information9 Months Ended
Apr. 30, 2019
Risks and Uncertainties [Abstract]
Significant Customers and Geographic InformationSignificant Customers and Geographic Information No single customer accounted for 10% or more of our revenue for the three and nine months ended April 30, 2019 and 2018. Refer to Note 1 to our condensed consolidated financial statements for revenue by geography information. The following table summarizes 10% or more of the total balance of accounts receivable, net: April 30, 2019 July 31, 2018 Channel partner A 19% * Channel partner B 11% 13% Channel partner C 10% * Channel partner D * 13% (*) Represents less than 10%. Our long-lived assets consist of property, equipment and intangible assets, which are summarized by geographic area as follows: April 30, 2019 July 31, 2018 (in thousands) United States $ 27,012 $ 14,742 Rest of the world 7,814 5,023 Total long-lived assets $ 34,826 $ 19,765

Related Party Transactions

Related Party Transactions9 Months Ended
Apr. 30, 2019
Related Party Transactions [Abstract]
Related Party TransactionsRelated Party TransactionsWe previously entered into notes receivable agreements with certain of our current and former executives and employees in connection with the exercise of their stock options. Outstanding notes receivable were fully repaid during the nine months ended April 30, 2019. Refer to Note 9 to our condensed consolidated financial statements for further information.

Subsequent events

Subsequent events9 Months Ended
Apr. 30, 2019
Subsequent Events [Abstract]
Subsequent eventsSubsequent eventsIn May 2019 we acquired Appsulate, Inc., a browser isolation company, for approximately $13.0 million. This acquisition further expands our cloud architecture to provide users a safe environment for accessing web-based applications where the application content should not be downloaded to the end point due to security or data protection concerns. We are in the process of completing our initial accounting for this acquisition.

Business and Summary of Signi_2

Business and Summary of Significant Accounting Policies (Policies)9 Months Ended
Apr. 30, 2019
Organization, Consolidation and Presentation of Financial Statements [Abstract]
Basis of PresentationBasis of Presentation The accompanying unaudited condensed consolidated financial statements have been prepared in conformity with accounting principles generally accepted in the United States ("U.S. GAAP") and applicable regulations of the Securities and Exchange Commission ("SEC") regarding interim financial reporting, and include the accounts of the Company and its wholly owned subsidiaries. All intercompany balances and transactions have been eliminated in consolidation. Certain information and note disclosures normally included in the financial statements prepared in accordance with U.S. GAAP have been condensed or omitted pursuant to the applicable required disclosures and regulations of the SEC. Therefore, these unaudited condensed consolidated financial statements and accompanying footnotes should be read in conjunction with the Company's audited consolidated financial statements and related notes in its Annual Report on Form 10-K for the fiscal year ended July 31, 2018 (the "Fiscal 2018 Form 10-K"), as filed with the SEC on September 13, 2018.
Use of EstimatesUse of Estimates The preparation of condensed consolidated financial statements in conformity with U.S. GAAP requires management to make estimates, judgments and assumptions that affect the amounts reported and disclosed in the financial statements and accompanying notes. Such estimates include, but are not limited to, the determination of revenue recognition, deferred revenue, deferred contract acquisition costs, valuation of acquired intangible assets, the period of benefit generated from our deferred contract acquisition costs, allowance for doubtful accounts, valuation of common stock options and stock-based awards, useful lives of property and equipment, useful lives of acquired intangible assets, loss contingencies related to litigation and valuation of deferred tax assets. Management determines these estimates and assumptions based on historical experience and on various other assumptions that are believed to be reasonable. Actual results could differ significantly from these estimates, and such differences may be material to the condensed consolidated financial statements.
Revenue RecognitionRevenue Recognition We adopted Accounting Standards Codification ("ASC") Topic 606, Revenue From Contracts With Customers ("ASC 606") on August 1, 2017, using the full retrospective transition method. Disaggregation of Revenue Subscription and support revenue is recognized over time and accounted for approximately 99% of our revenue for the three months ended April 30, 2019 and 2018 and approximately 99% of our revenue for the nine months ended April 30, 2019 and 2018. The following table summarizes the revenue by region based on the shipping address of customers who have contracted to use our cloud platform: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 Amount % Revenue Amount % Revenue Amount % Revenue Amount % Revenue (in thousands, except per percentage data) United States $ 38,973 49 % $ 21,722 44 % $ 106,406 49 % $ 61,707 46 % Europe, Middle East and Africa (*) 32,340 41 % 22,439 46 % 89,286 41 % 59,593 44 % Asia Pacific 6,353 8 % 3,733 8 % 16,816 8 % 10,287 8 % Other 1,462 2 % 1,269 2 % 4,220 2 % 2,413 2 % Total $ 79,128 100 % $ 49,163 100 % $ 216,728 100 % $ 134,000 100 % (*) Revenue from the United Kingdom ("U.K.") represented 11% and 12% of our revenue for the three months ended April 30, 2019 and 2018, respectively, and 10% and 12% for the nine months ended April 30, 2019 and 2018, respectively. The following table summarizes the revenue from contracts by type of customer: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 Amount % Revenue Amount % Revenue Amount % Revenue Amount % Revenue (in thousands, except per percentage data) Channel partners $ 75,670 96 % $ 45,496 93 % $ 206,763 95 % $ 122,925 92 % Direct customers 3,458 4 % 3,667 7 % 9,965 5 % 11,075 8 % Total $ 79,128 100 % $ 49,163 100 % $ 216,728 100 % $ 134,000 100 % Contract Balances Contract liabilities consist of deferred revenue and include payments received in advance of performance under the contract. Such amounts are recognized as revenue over the contractual period. For the nine months ended April 30, 2019 and 2018, we recognized revenue of $125.7 million and $75.0 million, respectively, that was included in the corresponding contract liability balance at the beginning of these periods. Remaining Performance Obligations The typical subscription and support term is one three three Costs to Obtain and Fulfill a Contract We capitalize sales commissions and associated payroll taxes paid to internal sales personnel that are incremental to the acquisition of channel partner and direct customer contracts. These costs are recorded as deferred contract acquisition costs in the condensed consolidated balance sheets.
Deferred Offering CostsDeferred Offering CostsDeferred offering costs consisted of fees and expenses incurred in connection with our IPO, including legal, accounting, printing and other IPO-related costs.
Recently Adopted Accounting Pronouncements; Recently Issued Accounting Pronouncements Not Yet AdoptedRecently Adopted Accounting Pronouncements In January 2017, the Financial Accounting Standard Board ("FASB") issued Accounting Standard Update ("ASU") No. 2017-01, Business Combinations (Topic 805): Clarifying the Definition of a Business . The amendment was issued to clarify the definition of a business with the objective of adding guidance to assist entities with evaluating whether transactions should be accounted for as acquisitions of assets or businesses. This standard provides a screen test to determine when a set (inputs and processes that produce an output) is not a business. The screen requires that when substantially all of the fair value of the gross assets acquired is concentrated in a single identifiable asset or a group of similar identifiable assets, the set is not a business. We adopted this standard as of August 1, 2018, and it did not have a material impact to our consolidated financial statements. In January 2017, the FASB issued ASU 2017-04, Intangibles-Goodwill and Other (Topic 350) , which simplifies the accounting for goodwill impairments by eliminating step 2 from the goodwill impairment test. Instead, if the carrying amount of a reporting unit exceeds its fair value, an impairment loss shall be recognized in an amount equal to that excess, limited to the total amount of goodwill allocated to that reporting unit. For public business entities, this standard is effective for annual periods beginning after December 15, 2019. Early adoption is permitted. We early adopted this standard on February 1, 2019, and it did not have a material impact to our consolidated financial statements. In May 2017, the FASB issued ASU No. 2017-09, Compensation—Stock Compensation (Topic 718): Scope of Modification Accounting , which provides clarity in applying the guidance in Topic 718 around modifications of share-based payment awards. We adopted this standard as of August 1, 2018, and it did not have a material impact to our consolidated financial statements. In August 2016, the FASB issued ASU No. 2016-15, Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments . The new standard eliminates the diversity in practice related to the classification of certain cash receipts and payments for debt prepayment or extinguishment costs, the maturing of a zero-coupon bond, the settlement of contingent liabilities arising from a business combination, proceeds from insurance settlements, distributions from certain equity method investees and beneficial interests obtained in a financial asset securitization. We adopted this standard as of August 1, 2018 using the retrospective transition method, and it did not have a material impact to our consolidated financial statements. In November 2016, the FASB issued ASU No. 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash , which requires that amounts generally described as restricted cash or restricted cash equivalents be included with cash and cash equivalents when reconciling the beginning-of-period and end-of-period total amounts shown on the statement of cash flows. We adopted this standard as of August 1, 2018 using the retrospective transition method and we have adjusted our prior period condensed consolidated statement of cash flows to conform to the current presentation. In June 2018, the FASB issued ASU No. 2018-07, Compensation—Stock Compensation (Topic 718): Improvements to Nonemployee Share-Based Payment Accounting , which simplifies the accounting for equity awards granted to nonemployees. For public business entities, it is effective for fiscal years beginning after December 15, 2018, and interim periods therein. Early adoption is permitted. We early adopted this standard as of August 1, 2018 using the prospective transition method, which resulted in a cumulative-effect adjustment of $0.3 million recognized within stockholders' equity, as a reduction of additional paid-in capital against accumulated deficit, on the adoption date. In August 2018, the FASB issued ASU No. 2018-15, “Intangibles-Goodwill and Other-Internal-Use Software (Subtopic 350-40): Customer’s Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement That Is a Service Contract ,” which aligns the requirements for capitalizing implementation costs incurred in a hosting arrangement that is a service contract with the requirements for capitalizing implementation costs incurred to develop or obtain internal-use software. The new standard requires capitalized costs to be amortized on a straight-line basis generally over the term of the arrangement, and the financial statement presentation for these capitalized costs would be the same as that of the fees related to the hosting arrangements. For public business entities, this standard is effective for fiscal years beginning after December 15, 2019, and interim periods within those fiscal years. Early adoption is permitted. We early adopted this standard as of August 1, 2018 using the prospective transition method, and it did not have a material impact to our consolidated financial statements. In August 2018, the SEC adopted the final rule under SEC Release No. 33-10532, " Disclosure Update and Simplification ," amending certain disclosure requirements that have become redundant, duplicative, overlapping, outdated or superseded. In addition, the amendments expanded the disclosure requirements on the analysis of stockholders' equity for interim financial statements. Under the amendments, an analysis of changes in each caption of stockholders' equity presented in the balance sheet must be provided in a note or separate statement. The analysis should present a reconciliation of the beginning balance to the ending balance of each period for which a statement of comprehensive income is required to be filed. The final rule was effective November 5, 2018. We early adopted this requirement as of August 1, 2018, presenting the activity of the stockholder's equity accounts in the accompanying condensed statements of redeemable convertible preferred stock and stockholders' equity (deficit) for the periods presented. Recently Issued Accounting Pronouncements Not Yet Adopted In February 2016, the FASB issued ASU No. 2016-02, Leases (Topic 842) ("ASU 2016-02"), which requires lessees to recognize most leases on their balance sheets that do not meet the definition of a short-term lease but recognize the expenses on their statements of operations in a manner similar to current accounting rules. In July 2018, the FASB issued ASU 2018-10, Leases (Topic 842), Codification Improvements ("ASU 2018-10"), which clarifies certain adoption provisions of the new leases standard such as the application of implicit rate, lessee reassessment of lease classification and certain transition adjustments. In addition, in July 2018, the FASB issued ASU 2018-11, Leases (Topic 842), Targeted Improvements ("ASU 2018-11"), which allows for the adoption of ASU 2016-02 to be applied at the beginning of the year of adoption, as opposed to at the beginning of the earliest year presented in the financial statements. These standards are effective for fiscal years beginning after December 15, 2018, with early adoption permitted. We are currently evaluating the effect of these standards; however, we anticipate the most significant effects will relate to the recognition of right-of-use assets and lease liabilities arising from our real estate and data center operating leases that do not meet the definition of a short-term lease on the adoption date and providing qualitative and quantitative disclosures in the notes to the condensed consolidated financial statements. In June 2016, the FASB issued ASU No. 2016-13, Financial Instruments-Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments . This ASU amends guidance on reporting credit losses for assets held at amortized cost basis and available-for-sale debt securities to require that credit losses on available-for-sale debt securities be presented as an allowance rather than as a write-down. The measurement of credit losses for newly recognized financial assets and subsequent changes in the allowance for credit losses are recorded in the statements of operations. For public business entities, it is effective for fiscal years beginning after December 15, 2019, including interim periods within those fiscal years. Early adoption is permitted. We are currently evaluating the potential impact of this standard on our consolidated financial statements.

Business and Summary of Signi_3

Business and Summary of Significant Accounting Policies (Tables)9 Months Ended
Apr. 30, 2019
Organization, Consolidation and Presentation of Financial Statements [Abstract]
Disaggregation of RevenueThe following table summarizes the revenue by region based on the shipping address of customers who have contracted to use our cloud platform: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 Amount % Revenue Amount % Revenue Amount % Revenue Amount % Revenue (in thousands, except per percentage data) United States $ 38,973 49 % $ 21,722 44 % $ 106,406 49 % $ 61,707 46 % Europe, Middle East and Africa (*) 32,340 41 % 22,439 46 % 89,286 41 % 59,593 44 % Asia Pacific 6,353 8 % 3,733 8 % 16,816 8 % 10,287 8 % Other 1,462 2 % 1,269 2 % 4,220 2 % 2,413 2 % Total $ 79,128 100 % $ 49,163 100 % $ 216,728 100 % $ 134,000 100 % (*) Revenue from the United Kingdom ("U.K.") represented 11% and 12% of our revenue for the three months ended April 30, 2019 and 2018, respectively, and 10% and 12% for the nine months ended April 30, 2019 and 2018, respectively. The following table summarizes the revenue from contracts by type of customer: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 Amount % Revenue Amount % Revenue Amount % Revenue Amount % Revenue (in thousands, except per percentage data) Channel partners $ 75,670 96 % $ 45,496 93 % $ 206,763 95 % $ 122,925 92 % Direct customers 3,458 4 % 3,667 7 % 9,965 5 % 11,075 8 % Total $ 79,128 100 % $ 49,163 100 % $ 216,728 100 % $ 134,000 100 %
Capitalized Contract CostThe following table summarizes the activity of the deferred contract acquisition costs: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 (in thousands) Beginning balance $ 60,601 $ 39,943 $ 55,910 $ 34,662 Capitalization of contract acquisition costs 8,228 9,987 21,700 21,200 Amortization of deferred contract acquisition costs (4,724) (3,422) (13,505) (9,354) Ending balance $ 64,105 $ 46,508 $ 64,105 $ 46,508 Balance as of the end of the period: Deferred contract acquisition costs, current $ 19,391 $ 13,753 $ 19,391 $ 13,753 Deferred contract acquisition costs, noncurrent 44,714 32,755 44,714 32,755 Total deferred contract acquisition costs $ 64,105 $ 46,508 $ 64,105 $ 46,508

Cash Equivalents and Short-Te_2

Cash Equivalents and Short-Term Investments (Tables)9 Months Ended
Apr. 30, 2019
Cash and Cash Equivalents [Abstract]
Schedule of Cash Equivalents and Short-Term InvestmentsCash equivalents and short-term investments consisted of the following as of April 30, 2019: Amortized Unrealized Unrealized (in thousands) Cash equivalents: Money market funds $ 39,977 $ — $ — $ 39,977 Total cash equivalents $ 39,977 $ — $ — $ 39,977 Short-term investments: U.S. treasury securities $ 158,287 $ 63 $ (8) $ 158,342 U.S. government agency securities 40,695 6 (33) 40,668 Corporate debt securities 98,679 95 (22) 98,752 Total short-term investments $ 297,661 $ 164 $ (63) $ 297,762 Total cash equivalents and short-term investments $ 337,638 $ 164 $ (63) $ 337,739 Cash equivalents and short-term investments consisted of the following as of July 31, 2018: Amortized Unrealized Unrealized (in thousands) Cash equivalents: Money market funds $ 74,408 $ — $ — $ 74,408 U.S. treasury securities 17,488 — — 17,488 U.S. government agency securities 1,999 — — 1,999 Corporate debt securities 11,010 — (1) 11,009 Total cash equivalents $ 104,905 $ — $ (1) $ 104,904 Short-term investments: U.S. treasury securities $ 55,768 $ — $ (17) $ 55,751 U.S. government agency securities 17,953 — (19) 17,934 Corporate debt securities 89,362 1 (88) 89,275 Total short-term investments $ 163,083 $ 1 $ (124) $ 162,960 Total cash equivalents and short-term investments $ 267,988 $ 1 $ (125) $ 267,864
Schedule of MaturitiesThe amortized cost and fair value of our short-term investments based on their stated maturities consisted of the following as of April 30, 2019: Amortized Fair Value (in thousands) Due within one year $ 208,501 $ 208,521 Due between one and two years 89,160 89,241 Total short-term investments $ 297,661 $ 297,762
Schedule of Unrealized Loss on InvestmentsShort-term investments that were in an unrealized loss position consisted of the following as of April 30, 2019: Less than 12 Months Greater than 12 Months Total Fair Unrealized Fair Unrealized Fair Unrealized (in thousands) U.S. treasury securities $ 49,690 $ (8) $ — $ — $ 49,690 $ (8) U.S. government agency securities 32,946 (33) — — 32,946 (33) Corporate debt securities 41,189 (22) — — 41,189 (22) Total investments in a loss position $ 123,825 $ (63) $ — $ — $ 123,825 $ (63) Short-term investments that were in an unrealized loss position consisted of the following as of July 31, 2018: Less than 12 Months Greater than 12 Months Total Fair Unrealized Fair Unrealized Fair Unrealized (in thousands) U.S. treasury securities $ 55,750 $ (17) $ — $ — $ 55,750 $ (17) U.S. government agency securities 17,934 (19) — — 17,934 (19) Corporate debt securities 83,332 (88) — — 83,332 (88) Total investments in a loss position $ 157,016 $ (124) $ — $ — $ 157,016 $ (124)

Fair Value Measurements (Tables

Fair Value Measurements (Tables)9 Months Ended
Apr. 30, 2019
Fair Value Disclosures [Abstract]
Schedule of Fair Value, Assets Measured on Recurring BasisAssets that are measured at fair value on a recurring basis consisted of the following as of April 30, 2019: Level I Level II Level III Total Quoted Prices in Active Markets for Identical Assets Significant Other Observable Inputs Significant Unobservable Inputs (in thousands) Cash equivalents: Money market funds $ 39,977 $ 39,977 $ — $ — Total cash equivalents $ 39,977 $ 39,977 $ — $ — Short-term investments: U.S. treasury securities $ 158,342 $ — $ 158,342 $ — U.S. government agency securities 40,668 — 40,668 — Corporate debt securities 98,752 — 98,752 — Total short-term investments $ 297,762 $ — $ 297,762 $ — Assets that are measured at fair value on a recurring basis consisted of the following as of July 31, 2018: Level I Level II Level III Total Quoted Prices in Active Markets for Identical Assets Significant Other Observable Inputs Significant Unobservable Inputs (in thousands) Cash equivalents: Money market funds $ 74,408 $ 74,408 $ — $ — U.S. treasury securities 17,488 — 17,488 — U.S. government agency securities 1,999 — 1,999 — Corporate debt securities 11,009 — 11,009 — Total cash equivalents $ 104,904 $ 74,408 $ 30,496 $ — Short-term investments: U.S. treasury securities $ 55,751 $ — $ 55,751 $ — U.S. government agency securities 17,934 — 17,934 — Corporate debt securities 89,275 — 89,275 — Total short-term investments $ 162,960 $ — $ 162,960 $ —

Property and Equipment (Tables)

Property and Equipment (Tables)9 Months Ended
Apr. 30, 2019
Property, Plant and Equipment [Abstract]
Schedule of Property and EquipmentProperty and equipment consisted of the following: April 30, 2019 July 31, 2018 (in thousands) Hosting equipment $ 47,395 $ 30,743 Computers and equipment 2,658 2,335 Purchased software 1,311 1,324 Capitalized internal-use software 7,959 6,163 Furniture and fixtures 1,569 1,478 Leasehold improvements 2,135 2,123 Property and equipment, gross 63,027 44,166 Less: Accumulated depreciation and amortization (31,051) (24,401) Total property and equipment, net $ 31,976 $ 19,765

Acquired Intangible Assets (Tab

Acquired Intangible Assets (Tables)9 Months Ended
Apr. 30, 2019
Goodwill and Intangible Assets Disclosure [Abstract]
Schedule of Acquired Intangible AssetsThe changes in acquired intangible assets for the nine months ended April 30, 2019 and the net book value as of April 30, 2019 and July 31, 2018 consisted of the following: Intangible Assets, Gross Accumulated Amortization Intangible Assets, Net July 31, 2018 Additions April 30, 2019 Jul 31, 2018 Amortization Expense April 30, 2019 July 31, 2018 April 30, 2019 Weighted Average Useful life (in thousands) (years) Developed technology $ — $ 2,456 $ 2,456 $ — $ (402) $ (402) $ — $ 2,054 2.5 Customer relationships — 160 160 — (3) (3) — 157 4.9 $ — $ 2,616 $ 2,616 $ — $ (405) $ (405) $ — $ 2,211 2.7
Schedule of Future Amortization ExpenseFuture amortization expense of acquired intangible assets consisted of the following as of April 30, 2019: Amortization Year ending July 31, (in thousands) 2019 (remaining three months) $ 213 2020 851 2021 851 2022 244 2023 32 2024 20 Total $ 2,211

Commitments and Contingencies (

Commitments and Contingencies (Tables)9 Months Ended
Apr. 30, 2019
Commitments and Contingencies Disclosure [Abstract]
Schedule of Future Minimum Rental Payments for Operating LeasesFuture minimum payments under our non-cancelable operating leases consisted of the following as of April 30, 2019: Operating (in thousands) Year ending July 31, 2019 (remaining three months) $ 840 2020 5,204 2021 5,867 2022 4,476 2023 5,878 2024 6,309 Thereafter 15,977 Total $ 44,551
Schedule of Future Minimum Payments for Other CommitmentsFuture minimum payments under our non-cancelable data center contracts consisted of the following as of April 30, 2019: Data Center Contracts (in thousands) Year ending July 31, 2019 (remaining three months) $ 2,584 2020 8,410 2021 5,535 2022 1,560 2023 78 Total $ 18,167

Common Stock (Tables)

Common Stock (Tables)9 Months Ended
Apr. 30, 2019
Equity [Abstract]
Schedule of Common Stock Reserved for Future IssuanceShares of common stock reserved for future issuance consisted of the following as of April 30, 2019: Underlying Shares (in thousands) Equity awards outstanding: Stock options 10,243 Unvested restricted stock units 3,437 Unvested performance stock units (*) 1,460 Share purchase rights committed under the employee stock purchase plan 1,354 Equity awards available for future grants: Equity incentive plans 15,542 Employee stock purchase plan 1,417 Total reserved shares of common stock for future issuance 33,453 (*) Unvested performance stock units corresponding to fiscal 2019 are calculated based on the maximum number of shares that holders would be entitled if the maximum achievement of the target performance metrics is attained. Unvested performance stock units corresponding to fiscal years beyond fiscal 2019 are calculated based on the target number of shares granted. Refer to Note 9 to our condensed consolidated financial statements for further information.

Stock Based Compensation (Table

Stock Based Compensation (Tables)9 Months Ended
Apr. 30, 2019
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Schedule of Stock OptionsThe activity of stock options for the nine months ended April 30, 2019 consisted of the following: Outstanding Weighted-Average Weighted-Average Aggregate (in thousands, except per share amounts) Balance as of July 31, 2018 16,175 $ 6.20 5.1 $ 470,860 Stock options exercised (5,153) $ 4.57 $ 221,831 Stock options canceled, forfeited or expired (779) $ 6.60 Balance as of April 30, 2019 10,243 $ 7.00 4.8 $ 628,067 Exercisable and expected to vest as of July 31, 2018 5,499 $ 3.97 4.0 $ 172,317 Exercisable and expected to vest as of April 30, 2019 3,646 $ 5.40 4.1 $ 229,351
Schedule of Restricted Stock Units ActivityThe activity of RSUs for the nine months ended April 30, 2019 consisted of the following: RSUs Outstanding Weighted-Average Grant Date Fair Value per Share Aggregate (in thousands, except per share amounts) Balance as of July 31, 2018 209 $ 26.26 $ 7,394 Granted 3,320 $ 42.37 Vested (16) $ 37.69 $ 1,008 Canceled or forfeited (76) $ 41.38 Balance as of April 30, 2019 3,437 $ 41.44 $ 234,827
Schedule of Unvested Performance Stock UnitsThe number of unvested PSUs outstanding based on the target number of shares granted consisted of the following as of April 30, 2019: Underlying Shares Performance periods (in thousands) Fiscal 2019 464 Fiscal 2020 464 Fiscal 2021 150 Fiscal 2022 150 Total 1,228
Schedule of Performance Stock Units ActivityThe activity of PSUs for the nine months ended April 30, 2019 for which performance conditions have been established and are expected to be earned consisted of the following: Underlying Shares Weighted-Average Grant Date Fair Value per Share Aggregate (in thousands, except for share amounts) Balance as of July 31, 2018 — — $ — Granted 464 $ 36.90 Vested — — $ — Canceled or forfeited — — Balance as of April 30, 2019 464 $ 36.90 $ 31,712
Schedule of ESPP Valuation AssumptionsThe fair value of the share purchase rights granted under the ESPP for the nine months ended April 30, 2019 was estimated on the date of grant using the Black-Scholes option pricing model with the following assumptions: Underlying Assumptions Expected term (in years) 0.5 - 2.0 Expected stock price volatility 44.0% - 61.9% Risk-free interest rate 2.5% - 2.7% Dividend yield 0.0%
Schedule of Allocation of Stock-based Compensation ExpenseThe components of stock-based compensation expense recognized in the condensed consolidated statements of operations consisted of the following: Three Months Ended April 30, Nine Months Ended April 30, 2019 2018 2019 2018 (in thousands) Cost of revenue $ 686 $ 199 $ 1,808 $ 434 Sales and marketing 6,459 1,493 14,777 3,263 Research and development 4,194 960 11,387 1,852 General and administrative 1,936 657 6,116 1,557 Total stock-based compensation expense $ 13,275 $ 3,309 $ 34,088 $ 7,106
Outstanding stock options
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Schedule of Valuation AssumptionsWe estimated the fair value of stock options granted during the nine months ended April 30, 2018 using the Black-Scholes option pricing model and the following assumptions : Underlying Assumptions Expected term (in years) 4.6 - 5.1 Expected stock price volatility 40.3% - 42.3% Risk-free interest rate 1.7% - 2.8% Dividend yield 0.0%

Net Loss Per Share Attributab_2

Net Loss Per Share Attributable to Common Stockholders (Tables)9 Months Ended
Apr. 30, 2019
Earnings Per Share [Abstract]
Schedule of Net Loss Per Share, Basic and DilutedThe following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders: Three Months Ended Nine Months Ended 2019 2018 2019 2018 (in thousands) Net loss $ (12,236) $ (8,771) $ (23,379) $ (26,684) Accretion of Series C and D redeemable convertible preferred stock — (1,223) — (6,332) Net loss attributable to common stockholders $ (12,236) $ (9,994) $ (23,379) $ (33,016) Net loss per share attributable to common stockholders, basic and diluted $ (0.10) $ (0.14) $ (0.19) $ (0.73) Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted 124,672 73,818 122,644 45,047
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per ShareThe following table summarizes the unweighted outstanding potentially dilutive securities that were excluded from the computation of the diluted net loss per share attributable to common stockholders because the impact of including them would have been antidilutive: April 30, 2019 2018 (in thousands) Outstanding stock options 10,243 16,935 Shares subject to repurchase from early exercised stock options 154 773 Share purchase rights under the ESPP 1,354 2,085 Unvested RSUs 3,437 — Unvested PSUs (*) 464 — Total 15,652 19,793 (*) The number of unvested PSUs is based on the target number of shares granted and excludes unvested PSUs for which performance conditions have not been established as of April 30, 2019, as they are not considered outstanding for accounting purposes. Refer to Note 9 for further information.

Significant Customers and Geo_2

Significant Customers and Geographic Information (Tables)9 Months Ended
Apr. 30, 2019
Risks and Uncertainties [Abstract]
Schedule of Accounts ReceivableThe following table summarizes 10% or more of the total balance of accounts receivable, net: April 30, 2019 July 31, 2018 Channel partner A 19% * Channel partner B 11% 13% Channel partner C 10% * Channel partner D * 13% (*) Represents less than 10%.
Schedule of Long-Lived AssetsOur long-lived assets consist of property, equipment and intangible assets, which are summarized by geographic area as follows: April 30, 2019 July 31, 2018 (in thousands) United States $ 27,012 $ 14,742 Rest of the world 7,814 5,023 Total long-lived assets $ 34,826 $ 19,765

Business and Summary of Signi_4

Business and Summary of Significant Accounting Policies - Narrative (Details) $ / shares in Units, $ in ThousandsMar. 31, 2018USD ($)$ / sharesMar. 31, 2018USD ($)$ / sharessharesApr. 30, 2019USD ($)Apr. 30, 2018Apr. 30, 2019USD ($)Apr. 30, 2018USD ($)Aug. 01, 2018USD ($)Jul. 31, 2018USD ($)Aug. 01, 2017USD ($)
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Reverse stock split, ratio0.6667
Sale of stock, number of shares issued in transaction (in shares) | shares13,800,000
Sale of stock, price per share (in dollars per share) | $ / shares $ 16 $ 16
Net proceeds from shares sold $ 205,300
Payments of costs related to initial public offering $ 15,500 $ 1,797 $ 3,566
Offering costs $ 6,200
Conversion of redeemable convertible preferred stock to common stock upon initial public offering (in shares) | shares72,500,750
Conversion ratio1
Contract with customer, liability, revenue recognized125,700 $ 75,000
Revenue, remaining performance obligation $ 497,100 497,100
Accrued sales commissions $ 6,800 $ 6,800 $ 10,000
Cumulative effect of new accounting principle $ 0 $ 0
Sales Revenue, Net | Geographic Concentration Risk
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Concentration risk percentage100.00%100.00%100.00%100.00%
Subscription and Support | Transferred over Time | Sales Revenue, Net | Product Concentration Risk
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Concentration risk percentage99.00%99.00%99.00%99.00%
Retained Earnings
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Cumulative effect of new accounting principle300 (438)
Additional Paid-In Capital
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Cumulative effect of new accounting principle(300) $ 438
Minimum
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Contract with customer, term of contract1 year
Maximum
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Contract with customer, term of contract3 years
ASU 2018-07 | Retained Earnings
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Cumulative effect of new accounting principle300
ASU 2018-07 | Additional Paid-In Capital
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Cumulative effect of new accounting principle $ (300)
United Kingdom | Sales Revenue, Net | Geographic Concentration Risk
New Accounting Pronouncements or Change in Accounting Principle [Line Items]
Concentration risk percentage11.00%12.00%10.00%12.00%

Business and Summary of Signi_5

Business and Summary of Significant Accounting Policies - Disaggregation of Revenue (Details) - USD ($) $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019Apr. 30, 2018Apr. 30, 2019Apr. 30, 2018
Disaggregation of Revenue [Line Items]
Revenue $ 79,128 $ 49,163 $ 216,728 $ 134,000
Channel partners
Disaggregation of Revenue [Line Items]
Revenue75,670 45,496 206,763 122,925
Direct customers
Disaggregation of Revenue [Line Items]
Revenue $ 3,458 $ 3,667 $ 9,965 $ 11,075
Geographic Concentration Risk | Sales Revenue, Net
Disaggregation of Revenue [Line Items]
Concentration risk percentage100.00%100.00%100.00%100.00%
Customer Concentration Risk | Sales Revenue, Net
Disaggregation of Revenue [Line Items]
Concentration risk percentage100.00%100.00%100.00%100.00%
Customer Concentration Risk | Sales Revenue, Net | Channel partners
Disaggregation of Revenue [Line Items]
Concentration risk percentage96.00%93.00%95.00%92.00%
Customer Concentration Risk | Sales Revenue, Net | Direct customers
Disaggregation of Revenue [Line Items]
Concentration risk percentage4.00%7.00%5.00%8.00%
United States
Disaggregation of Revenue [Line Items]
Revenue $ 38,973 $ 21,722 $ 106,406 $ 61,707
United States | Geographic Concentration Risk | Sales Revenue, Net
Disaggregation of Revenue [Line Items]
Concentration risk percentage49.00%44.00%49.00%46.00%
Europe, Middle East and Africa
Disaggregation of Revenue [Line Items]
Revenue $ 32,340 $ 22,439 $ 89,286 $ 59,593
Europe, Middle East and Africa | Geographic Concentration Risk | Sales Revenue, Net
Disaggregation of Revenue [Line Items]
Concentration risk percentage41.00%46.00%41.00%44.00%
Asia Pacific
Disaggregation of Revenue [Line Items]
Revenue $ 6,353 $ 3,733 $ 16,816 $ 10,287
Asia Pacific | Geographic Concentration Risk | Sales Revenue, Net
Disaggregation of Revenue [Line Items]
Concentration risk percentage8.00%8.00%8.00%8.00%
Other
Disaggregation of Revenue [Line Items]
Revenue $ 1,462 $ 1,269 $ 4,220 $ 2,413
Other | Geographic Concentration Risk | Sales Revenue, Net
Disaggregation of Revenue [Line Items]
Concentration risk percentage2.00%2.00%2.00%2.00%

Business and Summary of Signi_6

Business and Summary of Significant Accounting Policies - Summary of Deferred Contract Acquisition Costs (Details) - USD ($) $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019Apr. 30, 2018Apr. 30, 2019Apr. 30, 2018Apr. 30, 2019Jul. 31, 2018Apr. 30, 2018
Changes in Capitalized Contract Cost [Roll Forward]
Beginning balance $ 60,601 $ 39,943 $ 55,910 $ 34,662
Capitalization of contract acquisition costs8,228 9,987 21,700 21,200
Amortization of deferred contract acquisition costs(4,724)(3,422)(13,505)(9,354)
Ending balance64,105 46,508 64,105 46,508
Deferred contract acquisition costs, current $ 19,391 $ 16,136 $ 13,753
Deferred contract acquisition costs, noncurrent44,714 39,774 32,755
Total deferred contract acquisition costs $ 60,601 $ 39,943 $ 55,910 $ 34,662 $ 64,105 $ 55,910 $ 46,508

Business and Summary of Signi_7

Business and Summary of Significant Accounting Policies - Remaining Performance Obligation (Details)Apr. 30, 2019
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2019-05-01
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]
Revenue, remaining performance obligation, percentage54.00%
Recognized transaction price period12 months
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2020-05-01
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction [Line Items]
Revenue, remaining performance obligation, percentage97.00%
Recognized transaction price period3 years

Cash Equivalents and Short-Te_3

Cash Equivalents and Short-Term Investments - Schedule of Cash Equivalents and Short-term Investments (Details) - USD ($) $ in ThousandsApr. 30, 2019Jul. 31, 2018
Debt Securities, Available-for-sale [Line Items]
Cash equivalents, amortized cost $ 39,977 $ 104,905
Cash equivalents, unrealized gains0 0
Cash equivalents, unrealized losses0 (1)
Cash equivalents39,977 104,904
Short-term investments, amortized cost basis297,661 163,083
Short-term investment, unrealized gains164 1
Short-term investments, unrealized losses(63)(124)
Short-term investments297,762 162,960
Cash equivalents and short-term investments, amortized cost337,638 267,988
Cash equivalents and short-term investments, unrealized gains164 1
Cash equivalents and short-term investments, unrealized losses(63)(125)
Cash equivalents and short-term investments, estimated fair value337,739 267,864
Money market funds
Debt Securities, Available-for-sale [Line Items]
Cash equivalents, amortized cost39,977 74,408
Cash equivalents, unrealized gains0 0
Cash equivalents, unrealized losses0 0
Cash equivalents39,977 74,408
U.S. treasury securities
Debt Securities, Available-for-sale [Line Items]
Cash equivalents, amortized cost17,488
Cash equivalents, unrealized gains0
Cash equivalents, unrealized losses0
Cash equivalents17,488
Short-term investments, amortized cost basis158,287 55,768
Short-term investment, unrealized gains63 0
Short-term investments, unrealized losses(8)(17)
Short-term investments158,342 55,751
U.S. government agency securities
Debt Securities, Available-for-sale [Line Items]
Cash equivalents, amortized cost1,999
Cash equivalents, unrealized gains0
Cash equivalents, unrealized losses0
Cash equivalents1,999
Short-term investments, amortized cost basis40,695 17,953
Short-term investment, unrealized gains6 0
Short-term investments, unrealized losses(33)(19)
Short-term investments40,668 17,934
Corporate debt securities
Debt Securities, Available-for-sale [Line Items]
Cash equivalents, amortized cost11,010
Cash equivalents, unrealized gains0
Cash equivalents, unrealized losses(1)
Cash equivalents11,009
Short-term investments, amortized cost basis98,679 89,362
Short-term investment, unrealized gains95 1
Short-term investments, unrealized losses(22)(88)
Short-term investments $ 98,752 $ 89,275

Cash Equivalents and Short-Te_4

Cash Equivalents and Short-Term Investments - Schedule of Maturities (Details) - USD ($) $ in ThousandsApr. 30, 2019Jul. 31, 2018
Amortized Cost
Due within one year, cost basis $ 208,501
Due between one and two years, cost basis89,160
Short-term investments, amortized cost basis297,661 $ 163,083
Fair Value
Due within one year, fair value208,521
Due between one and two years, fair value89,241
Total short-term investments, fair value $ 297,762 $ 162,960

Cash Equivalents and Short-Te_5

Cash Equivalents and Short-Term Investments - Schedule of Unrealized Position (Details) - USD ($) $ in ThousandsApr. 30, 2019Jul. 31, 2018
Debt Securities, Available-for-sale [Line Items]
Less than 12 months, fair value $ 123,825 $ 157,016
Less than 12 months, unrealized losses(63)(124)
Greater than 12 months, fair value0 0
Greater than 12 months, unrealized losses0 0
Total fair value123,825 157,016
Total unrealized losses(63)(124)
U.S. treasury securities
Debt Securities, Available-for-sale [Line Items]
Less than 12 months, fair value49,690 55,750
Less than 12 months, unrealized losses(8)(17)
Greater than 12 months, fair value0 0
Greater than 12 months, unrealized losses0 0
Total fair value49,690 55,750
Total unrealized losses(8)(17)
U.S. government agency securities
Debt Securities, Available-for-sale [Line Items]
Less than 12 months, fair value32,946 17,934
Less than 12 months, unrealized losses(33)(19)
Greater than 12 months, fair value0 0
Greater than 12 months, unrealized losses0 0
Total fair value32,946 17,934
Total unrealized losses(33)(19)
Corporate debt securities
Debt Securities, Available-for-sale [Line Items]
Less than 12 months, fair value41,189 83,332
Less than 12 months, unrealized losses(22)(88)
Greater than 12 months, fair value0 0
Greater than 12 months, unrealized losses0 0
Total fair value41,189 83,332
Total unrealized losses $ (22) $ (88)

Fair Value Measurements (Detail

Fair Value Measurements (Details) - USD ($) $ in ThousandsApr. 30, 2019Jul. 31, 2018
Cash equivalents:
Cash equivalents $ 39,977 $ 104,904
Short-term investments:
Short-term investments297,762 162,960
Fair Value, Measurements, Recurring
Cash equivalents:
Cash equivalents39,977 104,904
Short-term investments:
Short-term investments297,762 162,960
Fair Value, Measurements, Recurring | Level I
Cash equivalents:
Cash equivalents39,977 74,408
Short-term investments:
Short-term investments0 0
Fair Value, Measurements, Recurring | Level II
Cash equivalents:
Cash equivalents0 30,496
Short-term investments:
Short-term investments297,762 162,960
Fair Value, Measurements, Recurring | Level III
Cash equivalents:
Cash equivalents0 0
Short-term investments:
Short-term investments0 0
Money market funds
Cash equivalents:
Cash equivalents39,977 74,408
Money market funds | Fair Value, Measurements, Recurring
Cash equivalents:
Cash equivalents39,977 74,408
Money market funds | Fair Value, Measurements, Recurring | Level I
Cash equivalents:
Cash equivalents39,977 74,408
Money market funds | Fair Value, Measurements, Recurring | Level II
Cash equivalents:
Cash equivalents0 0
Money market funds | Fair Value, Measurements, Recurring | Level III
Cash equivalents:
Cash equivalents0 0
U.S. treasury securities
Cash equivalents:
Cash equivalents17,488
Short-term investments:
Short-term investments158,342 55,751
U.S. treasury securities | Fair Value, Measurements, Recurring
Cash equivalents:
Cash equivalents17,488
Short-term investments:
Short-term investments158,342 55,751
U.S. treasury securities | Fair Value, Measurements, Recurring | Level I
Cash equivalents:
Cash equivalents0
Short-term investments:
Short-term investments0 0
U.S. treasury securities | Fair Value, Measurements, Recurring | Level II
Cash equivalents:
Cash equivalents17,488
Short-term investments:
Short-term investments158,342 55,751
U.S. treasury securities | Fair Value, Measurements, Recurring | Level III
Cash equivalents:
Cash equivalents0
Short-term investments:
Short-term investments0 0
U.S. government agency securities
Cash equivalents:
Cash equivalents1,999
Short-term investments:
Short-term investments40,668 17,934
U.S. government agency securities | Fair Value, Measurements, Recurring
Cash equivalents:
Cash equivalents1,999
Short-term investments:
Short-term investments40,668 17,934
U.S. government agency securities | Fair Value, Measurements, Recurring | Level I
Cash equivalents:
Cash equivalents0
Short-term investments:
Short-term investments0 0
U.S. government agency securities | Fair Value, Measurements, Recurring | Level II
Cash equivalents:
Cash equivalents1,999
Short-term investments:
Short-term investments40,668 17,934
U.S. government agency securities | Fair Value, Measurements, Recurring | Level III
Cash equivalents:
Cash equivalents0
Short-term investments:
Short-term investments0 0
Corporate debt securities
Cash equivalents:
Cash equivalents11,009
Short-term investments:
Short-term investments98,752 89,275
Corporate debt securities | Fair Value, Measurements, Recurring
Cash equivalents:
Cash equivalents11,009
Short-term investments:
Short-term investments98,752 89,275
Corporate debt securities | Fair Value, Measurements, Recurring | Level I
Cash equivalents:
Cash equivalents0
Short-term investments:
Short-term investments0 0
Corporate debt securities | Fair Value, Measurements, Recurring | Level II
Cash equivalents:
Cash equivalents11,009
Short-term investments:
Short-term investments98,752 89,275
Corporate debt securities | Fair Value, Measurements, Recurring | Level III
Cash equivalents:
Cash equivalents0
Short-term investments:
Short-term investments $ 0 $ 0

Property and Equipment - Schedu

Property and Equipment - Schedule of Property and Equipment (Details) - USD ($) $ in ThousandsApr. 30, 2019Jul. 31, 2018
Property, Plant and Equipment [Line Items]
Property and equipment, gross $ 63,027 $ 44,166
Less: Accumulated depreciation and amortization(31,051)(24,401)
Total property and equipment, net31,976 19,765
Hosting equipment
Property, Plant and Equipment [Line Items]
Property and equipment, gross47,395 30,743
Computers and equipment
Property, Plant and Equipment [Line Items]
Property and equipment, gross2,658 2,335
Purchased software
Property, Plant and Equipment [Line Items]
Property and equipment, gross1,311 1,324
Capitalized internal-use software
Property, Plant and Equipment [Line Items]
Property and equipment, gross7,959 6,163
Furniture and fixtures
Property, Plant and Equipment [Line Items]
Property and equipment, gross1,569 1,478
Leasehold improvements
Property, Plant and Equipment [Line Items]
Property and equipment, gross $ 2,135 $ 2,123

Property and Equipment - Narrat

Property and Equipment - Narrative (Details) - USD ($) $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019Apr. 30, 2018Apr. 30, 2019Apr. 30, 2018
Property, Plant and Equipment [Abstract]
Depreciation and amortization expense $ 2,700 $ 1,900 $ 7,331 $ 5,842

Acquired Intangible Assets - Sc

Acquired Intangible Assets - Schedule of Acquired Intangible Assets (Details) - USD ($) $ in Thousands9 Months Ended
Apr. 30, 2019Apr. 30, 2018Jul. 31, 2018
Finite-lived Intangible Assets [Roll Forward]
Intangible Assets, Gross, beginning balance $ 0
Additions2,616
Intangible Assets, Gross, ending balance2,616
Accumulated Amortization, beginning balance0
Amortization Expense(405) $ 0
Accumulated Amortization, ending balance(405)
Intangible Assets, Net $ 2,211 $ 0
Weighted Average Useful life2 years 8 months 12 days
Developed technology
Finite-lived Intangible Assets [Roll Forward]
Intangible Assets, Gross, beginning balance $ 0
Additions2,456
Intangible Assets, Gross, ending balance2,456
Accumulated Amortization, beginning balance0
Amortization Expense(402)
Accumulated Amortization, ending balance(402)
Intangible Assets, Net $ 2,054 0
Weighted Average Useful life2 years 6 months
Customer relationships
Finite-lived Intangible Assets [Roll Forward]
Intangible Assets, Gross, beginning balance $ 0
Additions160
Intangible Assets, Gross, ending balance160
Accumulated Amortization, beginning balance0
Amortization Expense(3)
Accumulated Amortization, ending balance(3)
Intangible Assets, Net $ 157 $ 0
Weighted Average Useful life4 years 10 months 24 days

Acquired Intangible Assets - _2

Acquired Intangible Assets - Schedule of Future Amortization Expense (Details) - USD ($) $ in ThousandsApr. 30, 2019Jul. 31, 2018
Goodwill and Intangible Assets Disclosure [Abstract]
2019 (remaining three months) $ 213
2020851
2021851
2022244
202332
202420
Intangible Assets, Net $ 2,211 $ 0

Commitments and Contingencies -

Commitments and Contingencies - Summary of Future Minimum Payments Under Operating Leases (Details) $ in ThousandsApr. 30, 2019USD ($)
Commitments and Contingencies Disclosure [Abstract]
2019 (remaining three months) $ 840
20205,204
20215,867
20224,476
20235,878
20246,309
Thereafter15,977
Total $ 44,551

Commitments and Contingencies_2

Commitments and Contingencies - Narrative (Details) ft² in Thousands, $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019USD ($)Apr. 30, 2018USD ($)Apr. 30, 2019USD ($)Apr. 30, 2018USD ($)Oct. 01, 2019ft²Jul. 31, 2018USD ($)Oct. 31, 2017USD ($)Jul. 31, 2017USD ($)
Loss Contingencies [Line Items]
Base rent $ 44,551 $ 44,551
Rent expense800 $ 700 2,200 $ 1,800
Bandwidth and colocation costs3,600 2,600 10,000 6,900
Purchase obligation2,300 2,300 $ 3,100
General and administrative expenses15,911 $ 8,964 36,428 $ 22,497
Finjan Litigation
Loss Contingencies [Line Items]
Loss recognized7,300
General and administrative expenses4,100
Accrued liability for potential lawsuit loss $ 700 $ 2,500
Office space
Loss Contingencies [Line Items]
Base rent39,100 39,100
Office space | Letter of Credit
Loss Contingencies [Line Items]
Letter of credit $ 2,800 $ 2,800
Subsequent Event | Office space
Loss Contingencies [Line Items]
Total area of lease (in square feet) | ft²172
Initial area of lease (in square feet) | ft²69

Commitments and Contingencies_3

Commitments and Contingencies - Future Minimum Payments Due Under Data Center Contracts (Details) $ in ThousandsApr. 30, 2019USD ($)
Commitments and Contingencies Disclosure [Abstract]
2019 (remaining three months) $ 2,584
20208,410
20215,535
20221,560
202378
Total $ 18,167

Preferred Stock (Details)

Preferred Stock (Details) $ in Thousands1 Months Ended3 Months Ended9 Months Ended
Mar. 31, 2018USD ($)sharesApr. 30, 2018USD ($)Apr. 30, 2018USD ($)Apr. 30, 2019USD ($)Jan. 31, 2019USD ($)Jul. 31, 2018USD ($)Jan. 31, 2018USD ($)Jul. 31, 2017USD ($)
Temporary Equity Disclosure [Abstract]
Conversion of redeemable convertible preferred stock to common stock upon initial public offering (in shares) | shares72,500,750
Conversion ratio1
Temporary equity, carrying value $ 207,300 $ 0 $ 0 $ 0 $ 0 $ 0 $ 206,086 $ 200,977
Temporary equity, accretion value $ 24,700
Accretion of Series C and D redeemable convertible preferred stock $ 1,223 $ 6,332

Common Stock - Narrative (Detai

Common Stock - Narrative (Details)Apr. 30, 2019vote
Equity [Abstract]
Common stock, number of votes per share1

Common Stock - Schedule of Comm

Common Stock - Schedule of Common Stock Reserved for Future Issuance (Details) - shares shares in ThousandsApr. 30, 2019Jul. 31, 2018
Subsidiary, Sale of Stock [Line Items]
Equity awards outstanding (in shares)10,243 16,175
Equity awards available for future grants (in shares)33,453
Outstanding stock options
Subsidiary, Sale of Stock [Line Items]
Equity awards outstanding (in shares)10,243
Unvested RSUs
Subsidiary, Sale of Stock [Line Items]
Equity awards outstanding (in shares)3,437
Unvested performance stock units
Subsidiary, Sale of Stock [Line Items]
Equity awards outstanding (in shares)1,460
Employee stock purchase plan
Subsidiary, Sale of Stock [Line Items]
Equity awards outstanding (in shares)1,354
Equity awards available for future grants (in shares)1,417
Equity incentive plans
Subsidiary, Sale of Stock [Line Items]
Equity awards available for future grants (in shares)15,542

Stock Based Compensation - Narr

Stock Based Compensation - Narrative (Details) $ / shares in Units, $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019USD ($)$ / sharessharesApr. 30, 2018USD ($)Apr. 30, 2019USD ($)vote$ / sharessharesApr. 30, 2018USD ($)Jul. 31, 2018USD ($)shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Shares available for issuance (in shares) | shares18,688,000 18,688,000
Shares available for grant (in shares) | shares15,542,000 15,542,000
Options exercised, aggregate intrinsic value $ 221,831 $ 11,000
Weighted average grant date fair value (in dollars per share) | $ / shares $ 3.75
Vesting of early exercised stock options $ 277 $ 1,897 $ 844 2,912
Interest receivable $ 100
Outstanding notes receivable, carrying amount2,100
Repayment of loans2,100
Unrecognized compensation cost $ 155,100 $ 155,100
Unrecognized compensation cost, weighted-average3 years 3 months 18 days
Outstanding stock options
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Vesting period4 years
Outstanding stock options | 2018 Plan
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Expiration term10 years
Outstanding stock options | 2007 Plan
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Expiration term7 years
Unvested RSUs
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Vesting period4 years
Unvested performance stock units
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Percentage of shares originally granted150.00%
Employee Stock | 2018 Employee Stock Purchase Plan
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Shares available for issuance (in shares) | shares3,398,000 3,398,000
Employee subscription rate, maximum15.00%
Maximum number of shares per employee (in shares) | shares3,000
Purchase price of common stock, percent85.00%
Duration of offering period24 months
Number of purchases periods | vote4
Duration of purchase periods6 months
Shares issued (in shares) | shares627,000
Weighted-average purchase price per share (in dollars per share) | $ / shares $ 13.86 $ 13.86
Cash proceeds from the issuance of common stock $ 8,700
Accrued compensation $ 6,100 $ 6,100 $ 4,600
Fiscal 2019 | Outstanding stock options
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Vesting rights, percentage25.00%
Fiscal 2019 | Unvested RSUs
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Vesting rights, percentage25.00%
Additional Paid-In Capital
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Vesting of early exercised stock options $ 277 1,885 $ 844 2,900
Common Stock
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Vesting of early exercised stock options $ 12 $ 12
Common Stock | 2007 Plan
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Common stock subject to repurchase (in shares) | shares154,000 154,000 423,000
Shares subject to repurchase, value $ 700 $ 700 $ 1,600

Stock Based Compensation - Sche

Stock Based Compensation - Schedule of Stock Options (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands9 Months Ended12 Months Ended
Apr. 30, 2019Apr. 30, 2018Jul. 31, 2018
Outstanding Stock Options
Balance (in shares)16,175
Stock options exercised (in shares)(5,153)
Stock options canceled, forfeited, expired (in shares)(779)
Balance (in shares)10,243 16,175
Exercisable and expected to vest (in shares)3,646 5,499
Weighted-Average Exercise Price
Beginning balance (in dollars per share) $ 6.20
Stock options exercised (in dollars per share)4.57
Stock options canceled, forfeited, expired (in dollars per share)6.60
Ending balance (in dollars per share)7 $ 6.20
Exercisable and expected to vest (in dollars per share) $ 5.40 $ 3.97
Additional Disclosures
Options outstanding, weighted average remaining contractual term4 years 9 months 18 days5 years 1 month 6 days
Exercisable and expected to vest, weighted average remaining contractual term4 years 1 month 6 days4 years
Options outstanding, aggregate intrinsic value $ 628,067 $ 470,860
Options exercised, aggregate intrinsic value221,831 $ 11,000
Exercisable and expected to vest, aggregate intrinsic value $ 229,351 $ 172,317

Stock Based Compensation - Valu

Stock Based Compensation - Valuation Assumptions (Details)9 Months Ended
Apr. 30, 2019
Outstanding stock options
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Expected stock price volatility, minimum40.30%
Expected stock price volatility, maximum42.30%
Risk-free interest rate, minimum1.70%
Risk-free interest rate, maximum2.80%
Dividend yield0.00%
Employee Stock
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Expected stock price volatility, minimum44.00%
Expected stock price volatility, maximum61.90%
Risk-free interest rate, minimum2.50%
Risk-free interest rate, maximum2.70%
Dividend yield0.00%
Minimum | Outstanding stock options
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Expected term (in years)4 years 7 months 6 days
Minimum | Employee Stock
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Expected term (in years)6 months
Maximum | Outstanding stock options
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Expected term (in years)5 years 1 month 6 days
Maximum | Employee Stock
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Expected term (in years)2 years

Stock Based Compensation - Sc_2

Stock Based Compensation - Schedule of RSU Activity (Details) - Unvested RSUs - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands9 Months Ended
Apr. 30, 2019Jul. 31, 2018
RSUs Outstanding
Beginning balance (in shares)209
Granted (in shares)3,320
Vested (in shares)(16)
Canceled or forfeited (in shares)(76)
Ending balance (in shares)3,437
Weighted-Average Grant Date Fair Value per Share
Balance (in dollars per share) $ 41.44 $ 26.26
Granted (in dollars per share)42.37
Vested (in dollars per share)37.69
Canceled or forfeited (in shares) $ 41.38
Aggregate Intrinsic Value
Balance $ 234,827 $ 7,394
Vested $ 1,008

Stock Based Compensation - Sc_3

Stock Based Compensation - Schedule of Unvested PSUs (Details) shares in ThousandsApr. 30, 2019shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Target Shares (in shares)1,228
Fiscal 2019
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Target Shares (in shares)464
Fiscal 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Target Shares (in shares)464
Fiscal 2021
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Target Shares (in shares)150
Fiscal 2022
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]
Target Shares (in shares)150

Stock Based Compensation - Sc_4

Stock Based Compensation - Schedule of PSU Activity (Details) - Unvested performance stock units - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands9 Months Ended
Apr. 30, 2019Jul. 31, 2018
Underlying Shares
Beginning balance (in shares)0
Granted (in shares)464
Vested (in shares)0
Canceled or forfeited (in shares)0
Ending balance (in shares)464
Weighted-Average Grant Date Fair Value per Share
Balance (in dollars per share) $ 36.90 $ 0
Granted (in dollars per share)36.90
Vested (in dollars per share)0
Canceled or forfeited (in shares) $ 0
Aggregate Intrinsic Value
Balance $ 31,712 $ 0
Vested $ 0

Stock Based Compensation - Stoc

Stock Based Compensation - Stock-based Compensation Expense (Details) - USD ($) $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019Apr. 30, 2018Apr. 30, 2019Apr. 30, 2018
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]
Total stock-based compensation expense $ 13,275 $ 3,309 $ 34,088 $ 7,106
Cost of revenue
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]
Total stock-based compensation expense686 199 1,808 434
Sales and marketing
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]
Total stock-based compensation expense6,459 1,493 14,777 3,263
Research and development
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]
Total stock-based compensation expense4,194 960 11,387 1,852
General and administrative
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]
Total stock-based compensation expense $ 1,936 $ 657 $ 6,116 $ 1,557

Income Taxes (Details)

Income Taxes (Details) - USD ($) $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019Apr. 30, 2018Apr. 30, 2019Apr. 30, 2018
Income Tax Disclosure [Abstract]
Provision for income taxes $ 636 $ 357 $ 1,510 $ 1,003

Net Loss Per Share Attributab_3

Net Loss Per Share Attributable to Common Stockholders - Net Loss Per Share (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands3 Months Ended9 Months Ended
Apr. 30, 2019Apr. 30, 2018Apr. 30, 2019Apr. 30, 2018
Earnings Per Share [Abstract]
Net loss $ (12,236) $ (8,771) $ (23,379) $ (26,684)
Accretion of Series C and D redeemable convertible preferred stock0 (1,223)0 (6,332)
Net loss attributable to common stockholders $ (12,236) $ (9,994) $ (23,379) $ (33,016)
Net loss per share attributable to common stockholders, basic and diluted (in dollars per share) $ (0.10) $ (0.14) $ (0.19) $ (0.73)
Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares)124,672 73,818 122,644 45,047

Net Loss Per Share Attributab_4

Net Loss Per Share Attributable to Common Stockholders - Antidilutive Securities Excluded from Computation (Details) - shares shares in Thousands9 Months Ended
Apr. 30, 2019Apr. 30, 2018
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Antidilutive securities (in shares)15,652 19,793
Outstanding stock options
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Antidilutive securities (in shares)10,243 16,935
Shares subject to repurchase from early exercised stock options
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Antidilutive securities (in shares)154 773
Share purchase rights under the ESPP
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Antidilutive securities (in shares)1,354 2,085
Unvested RSUs
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Antidilutive securities (in shares)3,437 0
Unvested performance stock units
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]
Antidilutive securities (in shares)464 0

Significant Customers and Geo_3

Significant Customers and Geographic Information - Schedule of Accounts Receivable (Details) - Customer Concentration Risk - Accounts Receivable9 Months Ended12 Months Ended
Apr. 30, 2019Jul. 31, 2018
Channel partner A
Concentration Risk [Line Items]
Accounts receivable, net19.00% [1]
Channel partner B
Concentration Risk [Line Items]
Accounts receivable, net11.00%13.00%
Channel partner C
Concentration Risk [Line Items]
Accounts receivable, net10.00% [1]
Channel partner D
Concentration Risk [Line Items]
Accounts receivable, net [1]13.00%
[1]less than 10%

Significant Customers and Geo_4

Significant Customers and Geographic Information - Schedule of Long-lived Assets (Details) - USD ($) $ in ThousandsApr. 30, 2019Jul. 31, 2018
Revenues from External Customers and Long-Lived Assets [Line Items]
Total long-lived assets $ 34,826 $ 19,765
United States
Revenues from External Customers and Long-Lived Assets [Line Items]
Total long-lived assets27,012 14,742
Rest of the world
Revenues from External Customers and Long-Lived Assets [Line Items]
Total long-lived assets $ 7,814 $ 5,023

Subsequent events (Details)

Subsequent events (Details) $ in Millions1 Months Ended
May 31, 2019USD ($)
Subsequent Event | Appsulate, Inc.
Subsequent Event [Line Items]
Purchase price $ 13

Uncategorized Items - zs-201904

LabelElementValue
Restricted Cash and Cash Equivalents, Currentus-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue $ 0
Restricted Cash and Cash Equivalents, Currentus-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue180,000
Restricted Cash and Cash Equivalents, Noncurrentus-gaap_RestrictedCashAndCashEquivalentsNoncurrent388,000
Restricted Cash and Cash Equivalents, Noncurrentus-gaap_RestrictedCashAndCashEquivalentsNoncurrent $ 0