Business and Summary of Significant Accounting Policies | Business 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 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. The par value of the common stock and the convertible preferred stock was not adjusted as a result of the reverse stock split. All issued and outstanding share and per share amounts included in the accompanying 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.8 million 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 within 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.5 million shares of common stock on a one-to-one basis. Fiscal Year Our fiscal year ends on July 31. References to fiscal 2020, for example, refer to our fiscal year ended July 31, 2020. Principles of Consolidation The accompanying consolidated financial statements include the accounts of the Company and its wholly owned subsidiaries and have been prepared in conformity with accounting principles generally accepted in the United States ("U.S. GAAP"). All intercompany balances and transactions have been eliminated in consolidation. Use of Estimates The preparation of 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, valuation of deferred tax assets and liabilities, loss contingencies related to litigation, fair value and effective interest rate of our convertible senior notes, valuation of strategic investments and the discount rate used for operating leases. 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 consolidated financial statements. Due to the COVID-19 pandemic, there is ongoing uncertainty and significant disruption in the global economy and financial markets. We are not aware of any specific event or circumstances that would require an update to our estimates, judgments or assumptions or a revision to the carrying value of our assets or liabilities as of the date of issuance of these financial statements. These estimates, judgments and assumptions may change in the future, as new events occur or additional information is obtained. Foreign Currency The functional currency of our foreign subsidiaries is the U.S. dollar. Accordingly, monetary assets and liabilities of our foreign subsidiaries are re-measured into U.S. dollars at the exchange rates in effect at the reporting date, non-monetary assets and liabilities are re-measured at historical rates, revenue and expenses are re-measured at average exchange rates in effect during each reporting period. Foreign currency transaction gains and losses are recorded in other income (expense), net in the consolidated statements of operations. We recognized re-measurement losses of $0.3 million, $0.3 million and $0.1 million for fiscal 2020, fiscal 2019 and fiscal 2018, respectively. JOBS Act Extended Transition Period As a result of the market value of our common stock held by our non-affiliates as of January 31, 2019, we ceased to be an “emerging growth company” ("EGC"), as defined in the Jumpstart Our Business Startups Act of 2012 (the "JOBS Act"), with our transition to a large accelerated filer status as of July 31, 2019. As an EGC, we elected not to avail ourselves of the extended transition periods available for complying with new or revised accounting pronouncements applicable to public companies that are not emerging growth companies. Accordingly, the transition to a large accelerated filer did not have an impact to our consolidated financial statements. Concentration of Risks We generate revenue primarily from sale of subscriptions to access our cloud platform, together with related support services. Our sales team, along with our channel partner network of global telecommunications service providers, system integrators and value-added resellers (collectively "channel partners"), sells our services worldwide to organizations of all sizes. Due to the nature of our services and the terms and conditions of our contracts with our channel partners, our business could be affected unfavorably if we are not able to continue our relationships with them. Our financial instruments that are exposed to concentrations of credit risk consist primarily of cash, cash equivalents, short-term investments and accounts receivable. Although we deposit our cash with multiple financial institutions, the deposits, at times, may exceed federally insured limits. Cash equivalents and short-term investments consist of highly liquid investments in money market funds, U.S. treasury, U.S. agency securities and corporate debt securities, which are invested through financial institutions in the United States. We grant credit to our customers in the normal course of business. We monitor the financial condition of our customers to reduce credit risk. Refer to Note 2, Revenue Recognition, for information regarding customers with concentration of 10% of more of the total balance of accounts receivable, net. Segment Information We operate as one reportable and operating segment. Our chief operating decision maker is our chief executive officer, who reviews financial information presented on a consolidated basis for purposes of making operating decisions, assessing financial performance and allocating resources. Revenue Recognition We adopted Accounting Standards Codification ("ASC") Topic 606, Revenue From Contracts With Customers ("ASC 606"), effective as of August 1, 2017. In accordance with ASC 606, revenue is recognized when a customer obtains control of promised services. The amount of revenue recognized reflects the consideration that we expect to be entitled to receive in exchange for these services. To achieve the core principle of this standard, we apply the following five steps: 1) Identify the contract with a customer We consider the terms and conditions of the contracts and our customary business practices in identifying our contracts under ASC 606. We determine we have a contract with a customer when the contract is approved, we can identify each party’s rights regarding the services to be transferred, we can identify the payment terms for the services, we have determined the customer has the ability and intent to pay and the contract has commercial substance. We apply judgment in determining the customer’s ability and intent to pay, which is based on a variety of factors, including the customer’s historical payment experience or, in the case of a new customer, credit and financial information pertaining to the customer. 2) Identify the performance obligations in the contract Performance obligations promised in a contract are identified based on the services that will be transferred to the customer that are both capable of being distinct, whereby the customer can benefit from the service either on its own or together with other resources that are readily available from third parties or from us, and are distinct in the context of the contract, whereby the transfer of the services is separately identifiable from other promises in the contract. Our performance obligations consist of (i) our subscription and support services and (ii) professional and other services. 3) Determine the transaction price The transaction price is determined based on the consideration to which we expect to be entitled in exchange for transferring services to the customer. Variable consideration is included in the transaction price if, in our judgment, it is probable that a significant future reversal of cumulative revenue under the contract will not occur. None of our contracts contain a significant financing component. 4) Allocate the transaction price to performance obligations in the contract If the contract contains a single performance obligation, the entire transaction price is allocated to the single performance obligation. Contracts that contain multiple performance obligations require an allocation of the transaction price to each performance obligation based on a relative standalone selling price ("SSP"). 5) Recognize revenue when or as we satisfy a performance obligation Revenue is recognized at the time the related performance obligation is satisfied by transferring the promised service to a customer. Revenue is recognized when control of the services is transferred to our customers, in an amount that reflects the consideration that we expect to receive in exchange for those services. We generate all our revenue from contracts with customers and apply judgment in identifying and evaluating any terms and conditions in contracts which may impact revenue recognition. Subscription and Support Revenue We generate revenue primarily from sales of subscriptions to access our cloud platform, together with related support services to our customers. Arrangements with customers do not provide the customer with the right to take possession of our software operating our cloud platform at any time. Instead, customers are granted continuous access to our cloud platform over the contractual period. A time-elapsed output method is used to measure progress because we transfer control evenly over the contractual period. Accordingly, the fixed consideration related to subscription and support revenue is generally recognized on a straight-line basis over the contract term beginning on the date that our service is made available to the customer. The typical subscription and support term is one Professional and Other Services Revenue Professional and other services revenue consists of fees associated with providing deployment advisory services that educate and assist our customers on the best use of our solutions, as well as advise customers on best practices as they deploy our solution. These services are distinct from subscription and support services. Professional services do not result in significant customization of the subscription service. Revenue from professional services provided on a time and materials basis is recognized as the services are performed. Total professional and other services revenue has historically not been material. Contracts with Multiple Performance Obligations Most of our contracts with customers contain multiple promised services consisting of: (i) our subscription and support services and (ii) professional and other services that are distinct and accounted for separately. The transaction price is allocated to the separate performance obligations on a relative SSP basis. We determine SSP based on our overall pricing objectives, taking into consideration the type of subscription and support services and professional and other services, the geographical region of the customer and the number of users. Variable Consideration Revenue from sales is recorded at the net sales price, which is the transaction price, and includes estimates of variable consideration. The amount of variable consideration that is included in the transaction price is constrained and is included in the net sales price only to the extent that it is probable that a significant reversal in the amount of the cumulative revenue will not occur when the uncertainty is resolved. If our services do not meet certain service level commitments, our customers are entitled to receive service credits, and in certain cases, refunds, each representing a form of variable consideration. We have historically not experienced any significant incidents affecting the defined levels of reliability and performance as required by our subscription contracts. Accordingly, estimated refunds related to these agreements were not material to the periods presented. We provide rebates and other credits within our contracts with certain customers, which are estimated based on the value expected to be earned or claimed on the related sales transaction. Overall, the transaction price is reduced to reflect our estimate of the amount of consideration to which we are entitled based on the terms of the contract. Estimated rebates and other credits were not material during the periods presented. Accounts Receivable and Allowance Accounts receivable are recorded at the invoiced amount and are non-interest bearing. Accounts receivable are stated at their net realizable value, net of an allowance for doubtful accounts. We have a well-established collections history from our customers. Credit is extended to customers based on an evaluation of their financial condition and other factors. In determining the necessary allowance for doubtful accounts, management considers the current aging and financial condition of our customers, the amount of receivables in dispute and current payment patterns. The allowance for doubtful accounts has historically not been material. There were no material write-offs recognized in the periods presented. Accordingly, the movements in the allowance for doubtful accounts were not material for any of the periods presented. We do not have any off-balance-sheet credit exposure related to our customers. Cash Equivalents and Short-Term Investments We classify all highly liquid investments purchased with an original maturity of 90 days or less from the date of purchase as cash equivalents and all highly liquid investments with original maturities beyond 90 days at the time of purchase as short-term investments. Our cash equivalents and short-term investments consist of highly liquid investments in money market funds, U.S. treasury securities, U.S. government agency securities and corporate debt securities. We classify our investments as available-for-sale investments and present them within current assets since these investments represent funds available for current operations and we have the ability and intent, if necessary, to liquidate any of these investments in order to meet our liquidity needs within the next 12 months and expected investments to grow our business, including potential business acquisitions and other strategic transactions. Our investments are carried at fair value, with unrealized gains and losses, net of tax, reported in accumulated other comprehensive income (loss) within stockholders’ equity. Our investments are reviewed periodically to determine whether a decline in a security’s fair value below the amortized cost basis is other-than-temporary. If the cost of an individual investment exceeds its fair value, we consider available quantitative and qualitative factors such as the length of time and extent to which the market value has been less than the cost, the financial condition and near-term prospects of the issuer and our intent to sell, or whether it is more likely than not we will be required to sell the investment before recovery of the investment’s amortized cost basis. If we believe that a decline in fair value is determined to be other-than-temporary, we write down these investments to fair value. There were no impairments recognized on our investments during the periods presented. Interest income, amortization (accretion) of investments purchased at a premium (discount), realized gains and losses and declines in fair value judged to be other-than-temporary on our available-for-sale securities are included in interest income, net in the consolidated statements of operations. We use the specific identification method to determine the cost in calculating realized gains and losses upon the sale of these investments. Strategic Investments Our strategic investments consist of non-marketable equity investment in privately-held companies in which we do not have a controlling interest or significant influence. We have elected to apply the measurement alternative for equity investments that do not have readily determinable fair value, measuring them at cost, less any impairment, plus or minus adjustments resulting from observable price changes in orderly transactions for the identical or a similar security of the issuer. An impairment loss is recorded when events or circumstances indicates a decline in value has occurred. We include these strategic investments within other noncurrent assets in our consolidated balance sheets. Fair Value of Financial Instruments Our financial instruments consist of cash equivalents, short-term investments, accounts receivable, accounts payable, accrued liabilities and convertible senior notes. Cash e quivalents and short-term investments are recorded at fair value. Accounts receivable, accounts payable and accrued liabilities are stated at their carrying value, which approximates fair value due to the short-time to the expected receipt or payment date. Assets recorded at fair value on a recurring basis in the consolidated balance sheets, consisting of cash equivalents and short-term investments, are categorized in accordance with the fair value hierarchy based upon the level of judgment associated with the inputs used to measure their fair values. Convertible senior notes are carried at the initially allocated liability value less unamortized debt discount and issuance costs on its consolidated balance sheet, and it presents the fair value of the convertible senior notes at each reporting period for disclosure purposes only. Property and Equipment Property and equipment, net are stated at historical cost net of accumulated depreciation. Property and equipment, excluding leasehold improvements, are depreciated using the straight-line method over the estimated useful lives of the respective assets, generally ranging from three Capitalized Internal-Use Software Development Costs We capitalize certain costs incurred during the application development stage in connection with software development for our cloud security platform. Costs related to preliminary project activities and post-implementation activities are expensed as incurred. Capitalized costs are recorded as part of property and equipment in the consolidated balance sheets. Maintenance and training costs are expensed as incurred. Capitalized internal-use software is amortized on a straight-line basis over its estimated useful life, which is generally three years, and is recorded as cost of revenue in the consolidated statements of operations. Capitalization of development costs, inclusive of stock-based compensation, of software for internal-use in fiscal 2020, fiscal 2019 and fiscal 2018 was $13.2 million, $3.7 million and $1.8 million, respectively. Amortization expense of capitalized software for internal-use in fiscal 2020, fiscal 2019 and fiscal 2018 was $1.4 million, $1.0 million and $0.9 million, respectively. Business Combinations We account for our business combinations using the acquisition method of accounting, which requires, among other things, allocation of the fair value of purchase consideration to the tangible and intangible assets acquired and liabilities assumed at their estimated fair values on the acquisition date. The excess of the fair value of purchase consideration over the values of these identifiable assets and liabilities is recorded as goodwill. When determining the fair value of assets acquired and liabilities assumed, we make estimates and assumptions, especially with respect to intangible assets. Our estimates of fair value are based upon assumptions believed to be reasonable, but which are inherently uncertain and unpredictable and, as a result, actual results may differ from estimates. During the measurement period, not to exceed one year from the date of acquisition, we may record adjustments to the assets acquired and liabilities assumed, with a corresponding offset to goodwill if new information is obtained related to facts and circumstances that existed as of the acquisition date. After the measurement period, any subsequent adjustments are reflected in the consolidated statements of operations. Acquisition costs, such as legal and consulting fees, are expensed as incurred. Goodwill and Other Long-Lived Assets, including Acquired Intangible Assets Goodwill represents the excess of the fair value of purchase consideration in a business combination over the fair value of net tangible and intangible assets acquired. Goodwill amounts are not amortized, but rather tested for impairment at least annually or more often if circumstances indicate that the carrying value may not be recoverable. No indications of impairment of goodwill were noted during the periods presented. Acquired intangible assets consist of identifiable intangible assets, including developed technology and customer relationships, resulting from business combinations. Acquired finite-lived intangible assets are initially recorded at fair value and are amortized on a straight-line basis over their estimated useful lives. Amortization expense of developed technology and customer relationships is recorded primarily within cost of revenues, sales and marketing and research and development expenses, respectively, in the consolidated statements of operations. Long-lived assets, such as property and equipment and acquired intangible assets, are reviewed for impairment whenever events or changes in circumstances indicate that their carrying amounts may not be recoverable. We measure the recoverability of these assets by comparing the carrying amounts to the future undiscounted cash flows that these assets are expected to generate. If the total of the future undiscounted cash flows are less than the carrying amount of an asset, we record an impairment charge for the amount by which the carrying amount of the asset exceeds the fair value. In fiscal 2020, we recognized asset impairments of $0.7 million in general and administrative expenses in our consolidated statement of operations related primarily to the abandonment of a leased facility and relocation of our corporate headquarters. Deferred Offering Costs Deferred offering costs consisted of fees and expenses incurred in connection with the sale of our common stock in an IPO, including legal, accounting, printing and other IPO-related costs. Total deferred offering costs of $6.2 million were reclassified into stockholders' equity as a reduction of the net proceeds received from the IPO in fiscal 2018. Operating Leases We enter into operating lease arrangements for real estate assets related to office space and co-location assets related to space and racks at data center facilities. We determine if an arrangement contains a lease at its inception by assessing whether there is an identified asset and whether the arrangement conveys the right to control the use of the identified asset in exchange for consideration. Operating leases related balances are included in "operating lease right-of-use assets," "operating lease liabilities," and "operating lease liabilities, noncurrent" in our consolidated balance sheets. Right-of-use assets represent our right to use an underlying asset for the lease term and lease liabilities represent our obligation to make payments arising from the lease. Operating lease right-of-use assets and lease liabilities are recognized at the lease commencement date based on the present value of lease payments over the lease term. Lease payments consist of the fixed payments under the arrangement. The operating lease liabilities is adjusted for any unpaid lease incentives, such as tenant improvement allowances. Variable costs, such as maintenance and utilities based on actual usage, are not included in the measurement of right-to-use assets and lease liabilities but are expensed when the event determining the amount of variable consideration to be paid occurs. As the implicit rate of our leases is not determinable, we use an incremental borrowing rate ("IBR") based on the information available at the lease commencement date in determining the present value of lease payments. The lease expense is recognized on a straight-line basis over the lease term. We generally use the base, non-cancelable lease term when recognizing the right-of-use assets and lease liabilities, unless it is reasonably certain that a renewal or termination option will be exercised. We account for lease components and non-lease components as a single lease component. Leases with a term of twelve months or less are not recognized on the consolidated balance sheets. We recognize lease expense for these leases on a straight-line basis over the term of the lease. Stock-Based Compensation Compensation expense related to stock-based awards granted to employees and non-employees is calculated based on the fair value of stock-based awards on the date of grant. We recognize stock-based compensation expense over an award’s requisite service period based on the award’s fair value. Stock-based compensation for common stock options is recognized based on the fair value of the awards granted, determined using the Black-Scholes option pricing model and a single option award approach. Stock-based compensation expense is recognized on a straight-line basis over the requisite service period, generally four years. Stock-based compensation for purchase rights granted under the employee stock purchase plan is based on the Black-Scholes option pricing model fair value of the number of awards estimated as of the beginning of the offering period. Stock-based compensation expense is recognized following the straight-line attribution method over the offering period. Stock-based compensation for restricted stock units is measured based on the market closing price of our common stock on the grant date. Stock-based compensation expense is recognized on a straight-line basis over the requisite service period, generally four years. Stock-based compensation for performance stock awards (“PSAs”) which have the same grant date and service inception date, is based on the probable number of shares to be attained and the market closing price of our common stock at the grant date. For PSAs where the service inception date of the awards precedes the grant date, stock-based compensation expense is recognized based on the number of PSAs for which it is probable that the performance condition will be met, using the accelerated attribution method and the market closing price of our common stock at each reporting date up to the grant date. The number of these PSAs for which it is probable that the performance condition will be met is determined using management’s best estimate at the end of each reporting period. At the completion of the performance period for these PSAs, any earned PSAs are granted upon approval of the compensation committee of our board of directors. Prior to our IPO, the fair value of our common stock for financial reporting purposes was determined considering numerous objective and subjective factors and required judgment to determine the fair value of common stock as of each grant date. Subsequent to the IPO, we determine the fair value using the market closing price of our common stock on the date of grant. Convertible Senior Notes In accounting for the issuance of the convertible senior notes, we separate the convertible senior notes into liability and equity components. The carrying amounts of the liability component is calculated by measuring the fair value of similar liabilities that do not have associated convertible features. The carrying amount of the equity component representing the conversion option was determined by deducting the fair value of the liability component from the par value of the convertible senior notes as a whole. This difference represents the debt discount that is amortized to interest expense over the respective terms of the convertible senior notes using the effective interest rate method. The equity component was recorded in additional paid-in capital and is not remeasured as long as it continues to meet the conditions for equity classification. In accounting for the related debt issuance costs, we allocate the total amount incurred to the liability and equity components of the convertible senior notes based on their relative values. Issuance costs attributable to the liability component are being amortized to interest expense over the contractual term of the convertible senior notes. The issuance costs attributable to the equity component were netted against the equity component representing the conversion option in additional paid-in capital. To the extent that we receive the convertible senior notes conversion requests prior to their maturity, a portion of the equity component is classified as temporary equity, which is measured as the difference between the principal and net carrying amount of the convertible senior notes requested for conversion. Upon settlement of the conversion requests, the difference between the fair value and the amortized book value of the liability component of the convertible senior notes requested for conversion is recorded as a gain or loss on early note conversion. The fair value of the convertible senior notes is measured based on a similar liability that does not have an associated convertible feature based on the remaining term of the convertible senior notes. Research and Development Our research and development expenses support our efforts to add new features to our existing offerings and to ensure the reliability, availability and scalability of our solutions. Our cloud platform is software-driven, and our research and development teams employ software engineers in the design and the related development, testing, certification and support of our solutions. Accordingly, the majority of our research and development expenses result from employee-related costs, including salaries, bonuses and benefits and costs associated with technology tools used by our engineers. Advertising Expenses Advertising expenses are charged to sales and marketing expense in the consolidated statements of operations as incurred. We recognized advertising expense of $11.8 million, $8.6 million and $3.4 million in fiscal 2020, fiscal 2019 and fiscal 2018, respectively. Warranties and Indemnification Our cloud platform is generally warranted to be free of defects under normal use and to perform substantially in accordance with the subscription agreement. Additionally, our contracts generally include provisions for indemnifying customers and channel partners against liabilities if our services infringe or misappropriate a third party’s intellectual property rights. Costs and liabilities incurred as a result of warranties and indemnification obli |