Description of Business and Summary of Significant Accounting Policies | Description of Business and Summary of Significant Accounting Policies Nature of operations Health Catalyst, Inc. (Health Catalyst) was incorporated under the laws of Delaware in September 2011. We are a leading provider of data and analytics technology and services to healthcare organizations. Our Solution comprises a cloud-based data platform, analytics software, and professional services expertise. Our customers, which are primarily healthcare providers, use our Solution to manage their data, derive analytical insights to operate their organization, and produce measurable clinical, financial, and operational improvements. Basis of presentation The accompanying unaudited condensed consolidated financial statements have been prepared in accordance with accounting principles generally accepted in the United States (GAAP) and the applicable regulations of the U.S. Securities and Exchange Commission (SEC) regarding interim financial reporting. Certain information and note disclosures normally included in annual financial statements prepared in accordance with U.S. GAAP have been condensed or omitted. Therefore, these unaudited condensed consolidated financial statements should be read in conjunction with the audited consolidated financial statements and the related notes thereto as of and for the year ended December 31, 2018 included in the Prospectus. Interim Unaudited Condensed Consolidated Financial Statements The accompanying interim condensed consolidated balance sheet as of June 30, 2019 , the interim condensed consolidated statements of operations for the three and six months ended June 30, 2019 and 2018 , the interim condensed consolidated statements of redeemable convertible preferred stock and stockholders' deficit for the three and six months ended June 30, 2019 , and the interim condensed consolidated statements of cash flows for the six months ended June 30, 2019 and 2018 are unaudited. The condensed consolidated balance sheet as of December 31, 2018 was derived from audited financial statements, but does not include all disclosures required by U.S. GAAP. The interim unaudited condensed consolidated financial statements have been prepared on a basis consistent with the annual consolidated financial statements and, in the opinion of management, reflect all adjustments, which include only normal recurring adjustments, necessary to state fairly the Company's financial position, its operations and cash flows for the periods presented. The historical results are not necessarily indicative of future results, and the results of operations for the three and six months ended June 30, 2019 are not necessarily indicative of the results to be expected for the full year or any other period. Initial Public Offering On July 29, 2019, we closed our initial public offering of common stock (IPO) in which we issued and sold 8,050,000 shares (inclusive of the underwriters’ over-allotment option to purchase 1,050,000 shares, which was exercised on July 25, 2019) of common stock at $26.00 per share. We received net proceeds of $194.6 million after deducting underwriting discounts and commissions and before deducting estimated offering costs of $4.4 million , of which $3.2 million was included in other assets as of June 30, 2019 . Upon the closing of our IPO, all shares of our outstanding redeemable convertible preferred stock converted into 23,151,481 shares of common stock on a one-for-one basis. The shares and proceeds from our IPO, the underwriters’ exercise of their option to purchase additional shares, and the conversion of our outstanding redeemable convertible stock into shares of common stock are not reflected in the condensed consolidated financial statements as of and for the three and six months ended June 30, 2019 . Stock Split On July 10, 2019, we effected a 1-for-2 reverse stock split of our capital stock. We have adjusted all references to share and per share amounts in the accompanying consolidated financial statements and notes to reflect the reverse stock split. Principles of consolidation The consolidated financial statements include the accounts of Health Catalyst and its wholly-owned subsidiaries. Intercompany balances and transactions have been eliminated. Use of estimates The preparation of financial statements in conformity with accounting principles generally accepted in the United States requires us to make estimates 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 and the reported amounts of revenues and expenses during the reporting period. On an on-going basis, we evaluate our estimates, including those related to revenue recognition, provisions for doubtful accounts, useful lives of property and equipment, capitalization and estimated useful life of internal-use software and other intangible assets, fair value of financial instruments, deferred tax assets, common stock warrants, redeemable convertible preferred stock accretion, stock-based compensation, and tax uncertainties. Actual results could differ from those estimates. Segment reporting Operating segments are identified as components of an enterprise about which separate discrete financial information is evaluated by the chief operating decision maker (the CODM) in assessing performance and making decisions regarding resource allocation. We operate our business in two operating segments that also represent our reportable segments. Our segments are (1) technology and (2) professional services. The CODM uses Adjusted Gross Profit (defined as revenue less cost of revenue that excludes depreciation, amortization, stock-based compensation expense, and certain other operating expenses) as the measure of our profit. Net loss per share We compute basic and diluted net loss per share in conformity with the two-class method required for participating securities. Redeemable convertible preferred stock and common stock are considered participating securities for purposes of this calculation. The two-class method is an earnings allocation formula that treats a participating security as having rights to earnings that otherwise would have been available to holders of common stock. However, the two-class method does not impact the net loss per share, as we are in a loss position for each of the periods presented and shares of redeemable convertible preferred stock do not participate in losses. Basic net loss per share is calculated by dividing net loss attributable to common stockholders by the weighted average number of shares of common stock outstanding. Net loss attributable to common stockholders is computed as net loss less accretion (reversal of accretion) of redeemable convertible preferred stock. Diluted net loss per share attributable to common stockholders is calculated by giving effect to all potentially dilutive common stock equivalents outstanding for the period. For purposes of this calculation, stock options and warrants to purchase common stock are considered to be common stock equivalents but have been excluded from the calculation of diluted net loss per share attributable to common stockholders as the effect is antidilutive. Revenue r ecognition We recognize revenue in accordance with Accounting Standards Codification Topic 606, Revenue from Contracts with Customers (Topic 606) . We derive our revenues primarily from technology subscriptions and professional services. We determine revenue recognition by applying the following steps: • Identification of the contract, or contracts, with a customer; • Identification of the performance obligations in the contract; • Determination of the transaction price; • Allocation of the transaction price to the performance obligations in the contract; and • Recognition of revenue when, or as, we satisfy the performance obligation. We recognize revenue net of any taxes collected from customers and subsequently remitted to governmental authorities. Technology r evenue Technology revenue primarily consists of subscription fees charged to customers for access to use our technology. We provide customers access to our technology through either an all-access or limited-access, modular subscription. The majority of our subscription arrangements are cloud-based and do not provide customers the right to take possession of the technology or contain a significant penalty if the customer were to take possession of the technology. Revenue from cloud-based subscriptions is recognized ratably over the contract term beginning on the date that the service is made available to the customer. Most of our subscription contracts have up to a three-year term, of which the vast majority are terminable after one year upon 90 days’ notice. Subscriptions that allow the customer to take software on-premise without significant penalty are treated as time-based licenses. These arrangements generally include access to technology, access to unspecified future products and maintenance and support. Revenue for upfront access to our technology library is recognized at a point in time when the technology is made available to the customer. Revenue for access to unspecified future products included in time-based license subscriptions is recognized ratably over the contract term beginning on the date that the access is made available to the customer. We also have certain perpetual license arrangements. Revenue from these arrangements is recognized at a point in time upon delivery of the software. Technology revenue also includes maintenance and support revenue which generally includes bug fixes, updates, and support services. Revenue related to maintenance and support is recognized over the contract term beginning on the date that the service is made available to the customer. Professional s ervices r evenue Professional services revenue primarily includes analytics services, implementation services, strategic advisory services, and improvement services. Professional services arrangements typically include a fee for making full-time equivalent (FTE) services available to our customers on a monthly basis. FTE services generally consist of a blend of analytic engineers, analysts, and data scientists based on the domain expertise needed to best serve our customer. Professional services are typically considered distinct from the technology offerings and revenue is generally recognized as the service is provided using the “right to invoice” practical expedient. Contracts with multiple performance obligations Many of our contracts include multiple performance obligations. We account for performance obligations separately if they are capable of being distinct within the context of the contract. In these circumstances, the transaction price is allocated to separate performance obligations on a relative standalone selling price basis. We determine standalone selling prices based on the observable price a good or service is sold for separately when available. In cases where standalone selling prices are not directly observable, based on information available, we utilize the expected cost plus a margin, adjusted market assessment, or residual estimation method. We consider all information available including our overall pricing objectives, market conditions, and other factors, which may include customer demographics and the types of users. Standalone selling prices are not directly observable for our all-access and limited-access technology arrangements, which are composed of cloud-based subscriptions, time-based licenses, and perpetual licenses. For these technology arrangements, we use the residual estimation method due to a limited number of standalone transactions and/or prices that are highly variable. Variable consideration We have also entered into at-risk and shared savings arrangements with certain customers whereby we receive variable consideration based on the achievement of measurable improvements which may include cost savings or performance against metrics. For these arrangements, we estimate revenue using the most likely amount that we will receive. Estimates are based on our historical experience and best judgment at the time to the extent it is probable that a significant reversal of revenue recognized will not occur. Due to the nature of our arrangements, certain estimates may be constrained until the uncertainty is further resolved. Contract balances Contract assets resulting from services performed prior to invoicing customers are recorded as unbilled accounts receivable and are presented on the consolidated balance sheets in aggregate with accounts receivable. Unbilled accounts receivable generally become billable at contractually specified dates or upon the attainment of contractually defined milestones. As of June 30, 2019 and December 31, 2018 , the unbilled accounts receivable included in accounts receivable on our consolidated balance sheets was $3.3 million and $3.4 million , respectively. We record contract liabilities as deferred revenue when cash payments are received or due in advance of performance. Deferred revenue primarily relates to the advance consideration received from the customer. As of June 30, 2019 and December 31, 2018 , the total of current and non-current deferred revenue on our consolidated balance sheets was $41.7 million and $32.0 million , respectively. Cost of revenue, excluding depreciation and amortization Cost of technology revenue primarily consists of costs associated with hosting and supporting our technology, including third-party cloud computing and hosting costs, contractor costs, and salary and related personnel costs for our cloud services and support teams. Cost of professional services revenue primarily consists of salary and related personnel costs, travel-related costs, and independent contractor costs. Cost of revenue excludes costs related to depreciation and amortization. We defer certain costs to fulfill a contract when the costs are expected to be recovered, are directly related to in-process contracts and enhance resources that will be used in satisfying performance obligations in the future. These deferred fulfillment costs primarily consist of employee compensation incurred as part of the implementation of new contracts. As of June 30, 2019 and December 31, 2018 , we had deferred contract fulfillment costs of $0.8 million and $0.6 million , respectively. Cash and c ash equivalents We consider all highly liquid investments purchased with a remaining maturity of three months or less at the time of acquisition to be cash equivalents. Short-term investments Our investment policy limits investments to highly-rated instruments that mature in less than 12 months. We classify our short-term investments as available for sale. Accounts receivable Accounts receivable are non-interest bearing and are recorded at the original invoiced amount less an allowance for doubtful accounts based on the probability of future collections. When we become aware of circumstances that may decrease the likelihood of collections, we record a specific allowance against amounts due, which reduces the receivable amount to the amount reasonably believed to be collected. For all other customers, we determine and periodically adjust the allowance based on historical loss patterns and current receivables aging. As of June 30, 2019 and December 31, 2018 , we had an allowance for doubtful accounts of $0.4 million and $0.5 million , respectively. Property and equipment Property and equipment are stated at historical cost less accumulated depreciation. Repairs and maintenance costs that do not extend the useful life or improve the related assets are expensed as incurred. Depreciation is computed using the straight-line method over the estimated useful lives of the assets. The estimated useful life of each asset category is as follows: Computer equipment 2-3 years Furniture and fixtures 3 years Leasehold improvements Lesser of lease term or estimated useful life Computer software 2-3 years Capitalized internal-use software costs 3 years When there are indicators of potential impairment, we evaluate the recoverability of the carrying values by comparing the carrying amount of the applicable asset group to the estimated undiscounted future cash flows expected to be generated by the asset group over the remaining life of the primary long-lived asset in that group plus any residual value. If the carrying amount of the asset group exceeds its estimated undiscounted future net cash flows, an impairment charge is recognized based on the amount by which the carrying value of the long-lived assets exceeds the fair value of those assets. We did not incur any long-lived impairment charges for the three and six months ended June 30, 2019 and 2018 . Intangible assets Intangible assets include developed technologies, customer relationships, customer contracts, and trademarks that were acquired in business combinations and asset acquisitions. Intangible assets also include the purchase of third-party computer software. The intangible assets are amortized using the straight-line method over the assets’ estimated useful lives. The estimated useful life of each asset category is as follows: Developed technologies 2-10 years Customer relationships and contracts 6 years Computer software licenses 2-5 years Trademarks 2 years Goodwill We record goodwill as the difference between the aggregate consideration paid for a business combination and the fair value of the identifiable net tangible and intangible assets acquired. Goodwill is assessed for impairment annually or more frequently if indicators of impairment are present or circumstances suggest that impairment may exist. The first step of the goodwill impairment test compares the fair value of the reporting unit with its carrying amount, including goodwill. If the fair value of the reporting unit exceeds its carrying amount, the goodwill of the reporting unit is not considered impaired. If the carrying amount of the reporting unit exceeds its fair value, the second step of the goodwill impairment test is performed to measure the amount of impairment loss, if any. The second step of the goodwill impairment test compares the implied fair value of the affected reporting unit’s goodwill with the carrying value of that goodwill. There was no impairment of goodwill for the three and six months ended June 30, 2019 and 2018 . Deferred offering costs Deferred offering costs, which consist of legal, consulting, banking, and accounting fees directly attributable to the IPO, are capitalized and will be offset against proceeds upon the consummation of the IPO. As of June 30, 2019 and December 31, 2018 , our capitalized deferred offering costs of $3.2 million and $0.1 million , respectively, were included in other assets within the consolidated balance sheets. Common stock warrants We account for freestanding warrants to purchase shares of our common stock that are not considered indexed to our own stock as warrant liabilities on our consolidated balance sheets until the point in time that they qualify for equity classification. We record liability-classified common stock warrants at their estimated fair value because they are free standing and the number of shares exercisable increases as we make advances on our credit facility. At the end of each reporting period, we record the change in the estimated fair value of the warrants to purchase common stock as a change in fair value of warrant liability within interest and other expense, net in our consolidated statements of operations. We reclassify the warrants from liability-classified to equity-classified as exercise contingencies related to the warrants become resolved. Business c ombinations We account for an acquisition as a business combination if we obtain control of a business. Assets and liabilities acquired in a business combination generally are recorded at fair value and any associated acquisition costs are expensed as incurred in general and administrative expenses. Advertising c osts All advertising costs are expensed as incurred. We recorded advertising costs of $0.4 million and $0.6 million for the three months ended June 30, 2019 and 2018 , respectively, and $1.1 million and $1.1 million for the six months ended June 30, 2019 and 2018 , respectively. Development costs and internal-use software For technology products that are developed to be sold externally, we determined that technological feasibility is reached shortly before the products are ready for general release. Any costs associated with software development between the time technological feasibility is reached and general release are inconsequential. We capitalize certain development costs incurred in connection with our internal-use software. These capitalized costs are primarily related to the software platforms that are hosted by us and accessed by our customers on a subscription basis. Costs incurred in the preliminary stages of development are expensed as incurred as research and development costs. Once an application 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. 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. Internal-use software is amortized on a straight-line basis over its estimated useful life of three years . Stock-based compensation Stock-based awards, including stock options and restricted stock units (RSUs), are measured and recognized in the consolidated financial statements based on the fair value of the award on the grant date. For awards subject to performance conditions, we will record expense when the performance condition becomes probable. We record forfeitures of stock-based awards as the actual forfeitures occur. We estimate the fair value of stock option awards on the grant date using the Black-Scholes option pricing model. W e have issued two types of employee stock-based awards, standard and two-tier. Our standard stock-based awards vest solely on a service-based condition. For these awards, we recognize stock-based compensation expense on a straight-line basis over the vesting period. Two-tier employee stock-based awards, contain both a service-based condition and performance condition, defined as the earlier of (i) an acquisition or change in control of the company or (ii) upon the occurrence of an initial public offering by the Company. A change in control event and effective registration event are not deemed probable until consummated; accordingly, no expense is recorded related to two-tier stock-based awards until the performance condition becomes probable of occurring. Awards which contain both service-based and performance conditions are recognized using the accelerated attribution method once the performance condition is probable of occurring. The service-based condition is generally a service period of four years. Prior to the adoption of ASU No. 2018-07, Compensation — Stock Compensation (ASU 2018-17), which simplifies the accounting for non-employee share-based payment transactions and is discussed below under “Accounting pronouncements adopted,” the fair value measurement date for non-employee awards was the date the performance of services was completed. Upon adoption of ASU 2018-07 on January 1, 2019, the measurement date for non-employee awards is the date of grant. The compensation expense for non-employees is recognized, without changes in the fair value of the award, in the same period and in the same manner as though we had paid cash for the services, which is typically the vesting period of the respective award. The impact on our consolidated financial statements was immaterial. Income t axes Deferred income tax balances are accounted for using the asset and liability method and reflect the effects of temporary differences between the financial reporting and tax bases of our assets and liabilities using enacted tax rates expected to apply when taxes are actually paid or recovered. In addition, deferred tax assets and liabilities are recorded for net operating loss (NOL) and credit carryforwards. On December 22, 2017, the 2017 Tax Cuts and Jobs Act (Tax Act) was enacted into law and the new legislation contains several key tax provisions that affect us, including the reduction of the corporate income tax rate to 21%, effective January 1, 2018. We were required to recognize the effect of the tax law changes in the period of enactment. As such, we remeasured our consolidated deferred tax assets and liabilities as of December 31, 2017 to reflect the lower rate and also reassessed the net realizability of those deferred tax assets and liabilities. A valuation allowance is provided against deferred tax assets unless it is more likely than not that they will be realized based on all available positive and negative evidence. Such evidence includes, but is not limited to, recent cumulative earnings or losses, expectations of future taxable income by taxing jurisdiction, and the carry-forward periods available for the utilization of deferred tax assets. We use a two-step approach to recognize and measure uncertain income tax positions. The first step is to evaluate the tax position for recognition by determining if the weight of available evidence indicates it is more likely than not that the position will be sustained upon audit. The second step is to measure the tax benefit as the largest amount, which is more than 50% likely of being realized upon ultimate settlement. We do not accrue interest and penalties related to unrecognized tax benefits within the provision for income taxes because we have NOLs. Significant judgment is required to evaluate uncertain tax positions. 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 evaluate our uncertain tax positions on a regular basis and evaluations are based on a number of factors, including changes in facts and circumstances, changes in tax law, such as the Tax Act, correspondence with tax authorities during the course of an audit, and effective settlement of audit issues. 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. Fair value of financial instruments The carrying amounts reported in the consolidated balance sheets for cash, receivables, accounts payable, and current accrued expenses approximate fair values because of the immediate or short-term maturity of these financial instruments. The carrying value of acquisition-related consideration payable, operating lease liabilities, and long-term debt approximate fair value based on interest rates available for debt with similar terms at June 30, 2019 and December 31, 2018. Money market funds and short-term investments are measured at fair value on a recurring basis. Fair value is estimated by applying the following hierarchy, which prioritizes the inputs used to measure fair value into three levels and bases the categorization within the hierarchy upon the lowest level of input that is available and significant to the fair value measurement: • Level 1- Quoted prices in active markets for identical assets or liabilities. • Level 2- Observable inputs other than quoted prices in active markets for identical assets and liabilities, quoted prices for identical or similar assets or liabilities in inactive markets, or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. • Level 3- Inputs that are generally unobservable and typically reflect management’s estimate of assumptions that market participants would use in pricing the asset or liability. Leases We determine if an arrangement is a lease at inception. Operating leases are included in operating lease right-of-use (ROU) assets, operating lease liabilities, and operating lease liabilities, net of current portion in our consolidated balance sheets. We have adopted the short-term lease recognition exemption policy. All of our leasing commitments are classified either as operating leases or otherwise qualify as short-term leases with lease terms of 12 months or less. ROU assets represent our right to use an underlying asset for the lease term and lease liabilities represent our obligation to make lease payments arising from the lease. Operating lease ROU assets and liabilities are recognized at commencement date based on the present value of lease payments over the lease term. As our lease contracts do not provide an implicit rate, we use our incremental borrowing rate based on the information available at commencement date to determine the present value of lease payments. The operating lease ROU asset also includes any lease payments made and excludes lease executory costs. Our lease terms may include options to extend or terminate the lease when it is reasonably certain that we will exercise the applicable option. Lease expense for lease payments is recognized on a straight-line basis over the lease term. We do not have lease agreements that contain non-lease components, which generally would be accounted for separately. Accounting pronouncement adopted In June 2018, the FASB issued ASU 2018-07, Improvements to Nonemployee Share-Based Payment Accounting (ASU 2018-07) . ASU 2018-07 simplifies the accounting for share-based payments to nonemployees by aligning it with the accounting for share-based payments to employees, with certain exceptions. The new standard is effective for fiscal years beginning after December 15, 2018, and interim periods within those annual periods. We adopted ASU 2018-07 as of January 1, 2019 and applied the standard prospectively. The adoption of this standard did not have a material impact on the consolidated financial statements. Recent accounting pronouncements In June 2016, FASB issued ASU 2016-13, Financial Instruments - Credit Losses (Topic 326) , that changes how companies will measure credit losses for most financial assets and certain other instruments that are not measured at fair value through net income. For available-for-sale debt securities, we will be required to record allowances rather than reduce the carrying amount. We are required to adopt ASU 2016-13 for annual and interim reporting periods beginning after December 15, 2019. Based on our preliminary assessment we do not anticipate that the adoption of this ASU will have a material impact on our unaudited condensed consolidated financial statements. In January 2017, FASB issued ASU 2017-04, Intangibles-Goodwill and Other - Simplifying the Test for Goodwill Impairment (Topic 350) , that simplifies how an entity is required to test goodwill for impairment by modifying the second step of the impairment test. The second step measures a goodwill impairment loss by comparing the fair value of a reporting unit to the carrying amount. If the carrying amount of the reporting unit exceeds its fair value, the carrying amount of goodwill is reduced by the excess reporting unit carrying amount up to the carrying amount of the goodwill. Public business entities must adopt ASU 2017-04 for annual or interim goodwill impairment tests in reporting periods beginning after December 15, 2019. The guidance will apply to our reporting requirements in performing goodwill impairment testing; however, we do not anticipate the adoption of this guidance will have a material impact on our unaudited condensed consolidated financial statements. In August 2018, the FASB issued ASU 2018-13, Fair Value Measurement (Topic 820), Disclosure Framework - Changes to the Disclosure Requirements for Fair Value Measurement , which eliminates certain disclosure requirements for fair value measurements for all entities, requires public entities to disclose certain new information prospectively, including the ranges used to develop significant unobservable inputs for Level 3 fair value measurements, and modifies some disclosure requirements. The new guidance is effective for fiscal years beginning after December 15, 2019 a |