Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation The consolidated financial statements have been prepared in accordance with GAAP. The consolidated financial statements include the accounts of Zendesk, Inc. and its subsidiaries. All intercompany balances and transactions have been eliminated upon consolidation. Initial Public Offering In May 2014, we completed our initial public offering, or IPO, in which we issued and sold 12.8 million shares of common stock at a public offering price of $9.00 per share. We received net proceeds of $103.1 million after deducting underwriting discounts and commissions of $8.1 million and other offering expenses of $3.8 million . Upon the closing of the IPO, all shares of our then-outstanding redeemable convertible preferred stock automatically converted into an aggregate of 34.3 million shares of common stock. Follow-On Public Offering In March 2015, we completed a follow-on public offering, in which we issued and sold 8.8 million shares of our common stock at a public offering price of $22.75 per share. We received net proceeds of $190.1 million after deducting underwriting discounts and commissions of $8.7 million and other offering expenses of $0.9 million . Reclassification Certain prior year amounts have been reclassified for consistency with the current year presentation. These reclassifications had no effect on the reported results of operations. Use of Estimates The preparation of consolidated financial statements in conformity with GAAP requires management to make certain estimates, judgments, and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities at the date of the financial statements, as well as the reported amounts of revenue and expenses during the reported periods. Significant items subject to such estimates and assumptions include the fair value of our common stock (through the date of our IPO) and share-based awards, fair value of acquired intangible assets, goodwill, unrecognized tax benefits, useful lives of acquired intangible assets and property and equipment, the capitalization and estimated useful life of our capitalized internal-use software, and financial forecasts used in currency hedging. These estimates are based on information available as of the date of the financial statements; therefore, actual results could differ from those estimates. Segment Information Our chief operating decision maker reviews the financial information presented on a consolidated basis for purposes of allocating resources and evaluating our financial performance. Accordingly, we have determined that we operate in a single operating segment. Revenue Recognition We generate substantially all of our revenue from subscription services, which are comprised of subscription fees from customer accounts on Zendesk Support and, to a lesser extent, Chat and Talk. In addition, we generate revenue by providing additional features to certain of our subscription plans for a fee that is incremental to the base subscription rate for such plan. Arrangements with customers do not provide the customer with the right to take possession of the software supporting our products at any time, and are therefore accounted for as service contracts. Subscription service arrangements are generally non-cancelable and do not provide for refunds to customers in the event of cancellations or any other right of return. We record revenue net of sales and excise taxes. We commence revenue recognition when all of the following conditions are met: • There is persuasive evidence of an arrangement; • The service has been or is being provided to the customer; • The collection of the fees is reasonably assured; and • The amount of fees to be paid by the customer is fixed or determinable. Subscription revenue is recognized on a straight-line basis over the contractual term of the arrangement beginning on the date that our service is made available to the customer. Payments received in advance of services being rendered are recorded as deferred revenue and recognized on a straight-line basis over the requisite service period. Certain customers have arrangements that provide for a maximum number of users over the contract term, with usage measured monthly. Revenue for these arrangements is recognized ratably over the contract terms until such time as a better pattern of recognition is evident. Incremental fees are incurred when the maximum number of users is exceeded, and any incremental fees are recognized as revenue ratably over the remaining contractual term. We derive an immaterial amount of revenue from implementation, Talk usage, and training services, for which we recognize revenue upon completion. Deferred Revenue Deferred revenue consists primarily of customer billings in advance of revenue being recognized. We invoice customers for subscriptions to our products in monthly, quarterly, or annual installments. Deferred revenue that is anticipated to be recognized during the succeeding 12-month period is recorded as current deferred revenue and the remaining portion is recorded as noncurrent deferred revenue. Deferred revenue associated with implementation, Talk usage, and training services was immaterial as of December 31, 2016 and 2015 . Cost of Revenue Cost of revenue consists primarily of personnel costs (including salaries, share-based compensation, and benefits) for employees associated with our infrastructure and our product support organizations, depreciation, hosting, and other expenses associated with our data centers, amortization expense associated with capitalized internal-use software, payment processing fees, amortization expense associated with acquired intangible assets, third party license fees, and allocated shared costs, including facilities, information technology, and security costs. Cash, Cash Equivalents, and Restricted Cash We consider all highly liquid investments purchased with a remaining maturity of three months or less to be cash equivalents. Cash and cash equivalents are recorded at fair value and consist primarily of bank deposits and money market funds. As of December 31, 2016 , our restricted cash balance was $2.5 million , consisting of $1.1 million cash collateral related to our cash flow hedges, $1.0 million pledged for charitable donation, and $0.4 million related to a deposit for a leased building. As of December 31, 2015, our restricted cash balance was $1.3 million , consisting of $0.9 million pledged for charitable donation, and $0.4 million related to a deposit for a leased building. Restricted cash is included within other assets on our consolidated balance sheet. Marketable Securities Marketable securities consist of corporate bonds, asset-backed securities, U.S. Treasury securities, commercial paper, agency securities, and money market funds. We classify marketable securities as available-for-sale at the time of purchase and reevaluate such classification as of each balance sheet date. All marketable securities are recorded at their estimated fair value. Unrealized gains and losses for available-for-sale securities are recorded in other comprehensive loss. We evaluate our investments to assess whether those with unrealized loss positions are other than temporarily impaired. Impairments are considered other than temporary if they are related to deterioration in credit risk or if it is likely we will sell the securities before the recovery of their cost basis. Realized gains and losses and declines in value determined to be other than temporary are determined based on the specific identification method and are reported in other expense, net in the consolidated statements of operations. Accounts Receivable and Allowance for Doubtful Accounts Accounts receivable are recorded at the invoiced amount, net of allowance for doubtful accounts. The allowance is based upon historical loss patterns, the age of each past due invoice, and an evaluation of the potential risk of loss associated with delinquent accounts. Accounts receivable deemed uncollectable are charged against the allowance for doubtful accounts when identified. The allowance for doubtful accounts consists of the following activity (in thousands): Year Ended December 31, 2016 2015 Allowance for doubtful accounts, beginning balance $ 763 $ 264 Additions 2,029 1,281 Write-offs (1,523 ) (782 ) Allowance for doubtful accounts, ending balance $ 1,269 $ 763 Property and Equipment Property and equipment are stated at cost less accumulated depreciation. Depreciation is calculated using the straight-line method over the estimated useful lives of assets. Maintenance and repair costs are charged to expense as incurred. The estimated useful lives of our property and equipment are as follows: Furniture and fixtures 5 years Hosting equipment 3 years Computer equipment and software 3 years Leasehold improvements Shorter of the lease term or estimated useful life Depreciation expense of assets acquired through capital leases is included in depreciation and amortization expense in the accompanying consolidated statements of operations. Derivative Instruments and Hedging We enter into foreign currency forward contracts with certain financial institutions to mitigate the impact of foreign currency fluctuations on our future cash flows and earnings. All of our foreign currency forward contracts are designated as cash flow hedges. Our foreign currency forward contracts generally have maturities of fifteen months or less. We recognize all forward contracts on our balance sheet at fair value as either assets or liabilities. The effective portion of the gain or loss on each forward contract is reported as a component of accumulated other comprehensive income (loss) and reclassified into earnings to revenue, cost of revenue or operating expense in the same period, or periods, during which the hedged transaction affects earnings. The ineffective portion of the gains or losses, if any, is recorded immediately in other income (expense), net. The change in time value related to our cash flow hedges is excluded from the assessment of hedge effectiveness and is recorded immediately in other income (expense), net. We evaluate the effectiveness of our cash flow hedges on a quarterly basis. We have a master netting agreement with each of our counterparties, which permits net settlement of multiple, separate derivative contracts with a single payment. We may also be required to exchange cash collateral with certain of our counterparties on a regular basis. As of December 31, 2016 , we have a restricted cash balance of $1.1 million associated with cash collateral exchanged. ASC 815 permits companies to present the fair value of derivative instruments on a net basis according to master netting arrangements. We have elected to present our derivative instruments on a gross basis in our consolidated financial statements. We do not enter into any derivative contracts for trading or speculative purposes. Fair Value Measurements We measure certain financial instruments at fair value using a fair value hierarchy. 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. Three levels of inputs may be used to measure fair value: Level 1—Observable inputs that reflect quoted prices (unadjusted) for identical assets or liabilities in active markets. Level 2—Other inputs that are directly or indirectly observable in the marketplace. Level 3—Unobservable inputs that are supported by little or no market activity. Our marketable securities are classified within either Level 1 or Level 2 and our foreign currency forward contracts are classified within Level 2. We have no financial assets or liabilities measured using Level 3 inputs. The fair value of our Level 1 marketable securities is based on quoted market prices of identical underlying securities. The fair value of our Level 2 marketable securities is based on indirect or directly observable market data, including readily available pricing sources for identical underlying securities that may not be actively traded. The fair value of our foreign currency forward contracts is based on quoted prices and market observable data of similar instruments in active markets, such as currency spot rates, forward rates, and LIBOR. For certain other financial instruments, including accounts receivable, accounts payable and other current liabilities, the carrying amounts approximate their fair value due to the relatively short maturity of these balances. Based on borrowing rates available to us for loans with similar terms and maturities, the carrying value of borrowings approximates fair value within Level 2 of the fair value hierarchy. Capitalized Internal-Use Software Costs We capitalize certain development costs incurred in connection with software development for our platform and software used in operations. Costs incurred in the preliminary stages of development are expensed as incurred. Once software has reached the development stage, internal and external costs, if direct and incremental, are capitalized until the software is substantially complete and ready for its intended use. Capitalization ceases upon completion of all substantial testing. We also capitalize costs related to specific upgrades and enhancements when it is probable the expenditures will result in additional functionality. Capitalized costs are recorded as part of property and equipment. Maintenance and training costs are expensed as incurred. Capitalized internal-use software is amortized on a straight-line basis over its estimated useful life and recorded in cost of revenue within the accompanying consolidated statements of operations. The weighted-average useful life of our capitalized internal-use software was 3.3 years as of December 31, 2016 . Business Combinations When we acquire businesses, we allocate the purchase price to the net tangible and identifiable intangible assets. Any residual purchase price is recorded as goodwill. The allocation of the purchase price requires management to make significant estimates in determining the fair values of assets acquired and liabilities assumed, especially with respect to intangible assets. These estimates can include, but are not limited to, the cash flows that an asset is expected to generate in the future, the appropriate weighted-average cost of capital, and the cost savings expected to be derived from acquiring an asset. These estimates are inherently uncertain and unpredictable. Goodwill, Acquired Intangible Assets, and Impairment Assessment of Long-Lived Assets Goodwill. Goodwill represents the excess purchase consideration of an acquired business over the fair value of the net tangible and identifiable intangible assets. Goodwill is evaluated for impairment annually in the third quarter, and whenever events or changes in circumstances indicate the carrying value of goodwill may not be recoverable. Triggering events that may indicate impairment include, but are not limited to, a significant adverse change in customer demand or business climate or a significant decrease in expected cash flows. No impairment charges were recorded during the years ended December 31, 2016 and 2015 . Acquired Intangible Assets. Acquired intangible assets consist of identifiable intangible assets, primarily developed technology and customer relationships, resulting from our acquisitions. Intangible assets are recorded at fair value on the date of acquisition and amortized over their estimated useful lives. Impairment of Long-Lived Assets. The carrying amounts of our long-lived assets, including property and equipment, capitalized internal-use software, and acquired intangible assets, are reviewed for impairment whenever events or changes in circumstances indicate that the carrying value of these assets may not be recoverable or that the useful life is shorter than originally estimated. Recoverability of assets to be held and used is measured by comparing the carrying amount of an asset to future undiscounted net cash flows the asset is expected to generate over its remaining life. If the asset is considered to be impaired, the amount of any impairment is measured as the difference between the carrying value and the fair value of the impaired asset. If the useful life is shorter than originally estimated, we amortize the remaining carrying value over the new shorter useful life. There were no material impairments for the years ended December 31, 2016 and 2015 . Share-Based Compensation Share-based compensation expense to employees is measured based on the fair value of the awards on the grant date and recognized in our consolidated statements of operations over the period during which the employee is required to perform services in exchange for the award (generally the vesting period of the award, which is typically 4 years ). We estimate the fair value of stock options granted using the Black-Scholes option valuation model. We measure the fair value of restricted stock units, or RSUs, based on the fair value of the underlying shares on the date of grant. Compensation expense for awards with only service conditions is recognized over the vesting period of the applicable award using the straight-line method. All RSUs and certain options granted to employees prior to our IPO vest upon the satisfaction of both a service condition and a performance condition. These RSUs and stock options with both a service condition and performance condition are collectively referred to as “Performance Awards” in the following discussion. The service condition for substantially all of these awards is satisfied over four years . The performance condition was satisfied upon the occurrence of a qualifying liquidity event which occurred upon the effectiveness of the registration statement related to our IPO. No share-based compensation expense was recognized for the Performance Awards prior to the IPO as the performance condition had not been deemed probable to have been met. Upon the satisfaction of the performance condition in May 2014, we recognized a cumulative share-based compensation expense for the portion of the Performance Awards that had met the service condition. The remaining unrecognized share-based compensation expense was recorded over the remaining requisite service period using the accelerated attribution method, net of estimated forfeitures. For the years ended December 31, 2016 , 2015 , and 2014, share-based compensation expense related to the Performance Awards was $2.8 million , $6.1 million and $12.7 million , respectively. As of December 31, 2016 , we had a total of $173.4 million in future period share-based compensation expense related to all equity awards, net of estimated forfeitures, to be recognized over a weighted average period of 2.7 years. Advertising Expense Advertising is expensed as incurred. For the years ended December 31, 2016 , 2015 , and 2014 , advertising expense was $23.9 million , $16.5 million , and $12.7 million , respectively. Government Grants We have obtained government grants in certain jurisdictions where we operate. We receive the grant funds as we meet certain commitments, including targeted levels of employment and/or spending within the local jurisdictions. If we fail to maintain these commitments, we may be required to repay grant funds received or be ineligible to receive future funding. We recognize grant proceeds to offset costs to which the grants relate on a straight-line basis when it is reasonably assured that the applicable commitments have been met. For the year ended December 31, 2016 , we recognized grant proceeds of $1.2 million in our consolidated statements of operations. We did not receive grant proceeds in 2015 or 2014. Income Taxes We record income taxes using the asset and liability method, which requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of events that have been recognized in our consolidated financial statements or tax returns. Deferred tax assets and liabilities are measured using the tax rates that are expected to apply to taxable income for the years in which those tax assets and liabilities are expected to be realized or settled. Valuation allowances are provided when necessary to reduce deferred tax assets to the amount expected to be realized. We recognize tax benefits from uncertain tax positions if it is more likely than not that the tax position will be sustained on examination by the taxing authorities based on the technical merits of the position. Although we believe that we have adequately reserved for our uncertain tax positions, we can provide no assurance that the final tax outcome of these matters will not be materially different. We make adjustments to these reserves when facts and circumstances change, such as the closing of a tax audit or the refinement of an estimate. To the extent that the final tax outcome of these matters is different than the amounts recorded, such differences will affect the provision for income taxes in the period in which such determination is made and could have a material impact on our financial condition and results of operations. We have elected to record interest accrued and penalties related to unrecognized tax benefits in our consolidated financial statements as a component of provision for income taxes. Foreign Currency The functional currency of our foreign subsidiaries, with the exception of our Singapore subsidiary, is the U.S. dollar. Accordingly, monetary balance sheet accounts are remeasured using exchange rates in effect at the balance sheet dates and non-monetary items are remeasured at historical exchange rates. Expenses are generally remeasured at the average exchange rates for the period. Foreign currency remeasurement and transaction gains and losses are included in other expense, net on the statements of operations and were not material for the periods presented. The functional currency of our Singapore subsidiary is the Singapore dollar. Assets and liabilities are translated into U.S. dollars at exchange rates in effect at the balance sheet dates. Revenue and expenses are translated at the average exchange rates for the period. Amounts classified in stockholders’ equity are translated at historical exchange rates. Translation gains and losses are recorded in accumulated other comprehensive loss income as a component of stockholders' equity. Concentrations of Risk Financial instruments potentially exposing us to concentrations of credit risk consist primarily of cash and cash equivalents, restricted cash, marketable securities, accounts receivable and derivative instruments. We place our cash and cash equivalents with high-credit-quality financial institutions. However, we maintain balances in excess of the FDIC insurance limits. We do not require our customers to provide collateral to support accounts receivable and maintain an allowance for doubtful accounts receivable balances. We seek to mitigate counterparty credit risk related to our derivative instruments by transacting with major financial institutions with high credit ratings. At December 31, 2016 and 2015 , there were no customers that represented more than 10% of our accounts receivable balance. There were no customers that individually exceeded 10% of our revenue in any of the periods presented. Recently Issued and Adopted Accounting Pronouncements In May 2014, the Financial Accounting Standards Board, or the FASB, issued new revenue guidance that provides principles for recognizing revenue to which an entity expects to be entitled for the transfer of promised goods or services to customers. As currently issued and amended, the new guidance is effective for annual reporting periods beginning after December 15, 2017, including interim periods within that reporting period, though early adoption is permitted for annual reporting periods beginning after December 15, 2016. The guidance may be applied retrospectively to each prior period presented (full retrospective method), or with the cumulative effect recognized as of the date of initial adoption (modified retrospective method). We currently intend to adopt using the full retrospective approach, however our decision has not been finalized. We continue to assess the impact of the new guidance on our existing revenue arrangements. As a result of adoption, we also expect to capitalize a significant portion of our sales commissions and other incremental costs to acquire contracts, which we historically expensed as incurred, which will result in an increase in deferred costs recognized on our balance sheet. We have not yet concluded the useful life of our capitalized costs, which will affect the classification and magnitude of the deferred costs at each reporting period. We continue to quantify the effect of these changes on our consolidated financial statements. In April 2015, the FASB issued ASU 2015-05, “ Customer’s Accounting for Fees Paid in a Cloud Computing Arrangement, ” which amended the existing accounting standards for intangible assets. The amendments provide explicit guidance to customers in determining the accounting for fees paid in a cloud computing arrangement, wherein the arrangements that do not convey a software license to the customer are accounted for as service contracts. We adopted this guidance in our first quarter of 2016. The adoption of this new standard did not have a material effect on our consolidated financial statements. In September 2015, the FASB issued ASU 2015-16, “ Simplifying the Accounting for Measurement-Period Adjustments ,” which requires that an acquirer in a business combination recognize adjustments to provisional amounts that are identified during the measurement period in the reporting period in which the adjustment amounts are determined. The new standard is required to be adopted prospectively. We adopted this guidance in the first quarter of 2016. The adoption of this standard did not have a material effect on our consolidated financial statements. In February 2016, the FASB issued ASU 2016-02, regarding ASC Topic 842 “ Leases. ” This new standard requires lessees to recognize most leases on their balance sheets as lease liabilities with corresponding right-of-use assets and eliminates certain real estate-specific provisions. The new guidance is effective for annual reporting periods beginning after December 15, 2018, including interim periods within that reporting period. Early adoption is permitted. We are currently evaluating the effect of this standard on our consolidated financial statements. In March 2016, the FASB issued ASU 2016-09, regarding ASC Topic 718 “ Compensation - Stock Compensation. ” This amendment changes certain aspects of accounting for share-based compensation to employees, including the recognition of income tax effects of awards when the awards vest or are settled, requirements on net share settlement to cover tax withholding, and accounting for forfeitures. The new guidance is effective for annual reporting periods beginning after December 15, 2016. We plan to adopt this standard in our first quarter of 2017. Under the new guidance, we intend to recognize forfeitures as they occur, rather than applying an estimated forfeiture rate. We do not expect the adoption of this standard to have a material effect on our consolidated financial statements. In August 2016, the FASB issued ASU 2016-15, regarding ASC Topic 230 “ Statement of Cash Flows. ” This update addresses eight specific cash flow issues with the objective of reducing the existing diversity in practice. The new guidance is effective for annual reporting periods beginning after December 15, 2017, including interim periods within that reporting period. Early adoption is permitted. We do not expect the adoption of this standard to have a material effect on our consolidated financial statements. In October 2016, the FASB issued ASU 2016-16, “ Income Taxes - Intra-Entity Transfers of Assets Other Than Inventory ,” which requires entities to recognize the income tax consequences of an intra-entity transfer of an asset other than inventory when the transfer occurs. The new guidance is effective for annual reporting periods beginning after December 15, 2017. Early adoption is permitted as of the beginning of an annual reporting period. The new standard must be adopted using a modified retrospective transition method, with the cumulative effect recognized as of the date of initial adoption. We plan to early adopt this standard in our first quarter of 2017. The adoption of this new guidance is not expected to have a material effect on our consolidated financial statements. In November 2016, the FASB issued ASU 2016-18, “ Statement of Cash Flows - Restricted Cash ,” which requires entities to show the changes in the total of cash, cash equivalents, restricted cash and restricted cash equivalents in the statement of cash flows. The standard is effective for fiscal years beginning after December 15, 2017, however early adoption is permitted. The new standard must be adopted retrospectively. We are currently evaluating the effect of this standard on our consolidated statements of cash flows. In January 2017, the FASB issued ASU 2017-01, “ Business Combinations - Clarifying the Definition of a Business ,” which clarifies the definition of a business when evaluating whether transactions should be accounted for as acquisitions or disposals of assets or businesses. The standard is effective for fiscal years beginning after December 15, 2017, however early adoption is permitted. We do not expect the adoption of this standard to have a material effect on our consolidated financial statements. In January 2017, the FASB issued ASU 2017-04, regarding ASC Topic 350 “ Simplifying the Test for Goodwill Impairment, ” which simplifies the required methodology to calculate an impairment charge for goodwill. The standard is effective for fiscal years beginning after December 15, 2019, however early adoption is permitted. We do not expect the adoption of this standard to have a material effect on our consolidated financial statements. |