Summary of significant accounting policies | Summary of significant accounting policies(a) Use of estimates The preparation of the consolidated financial statements in conformity with U.S. GAAP requires management 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 consolidated financial statements, and the reported amounts of revenues and expenses during the reporting period. Actual results could differ from those estimates. The most significant assumptions and estimates relate to the allowance for doubtful accounts, capitalized internal-use software, the determination of the useful lives of property and equipment, the fair value of securities underlying stock-based compensation, the fair value of identifiable assets and liabilities in a business acquisition, and the realization of deferred tax assets. (b) Revenue recognition The Company evaluates its contractual arrangements to determine the performance obligations and transaction prices. Revenue is allocated to each performance obligation and recognized when the related performance obligations are satisfied. See Note 5 for additional information about the adoption of ASC 606, Revenue from Contracts with Customers , as well as for additional details about the Company's products and service lines. (c) Concentrations of credit risk Financial instruments that potentially subject the Company to concentrations of credit risk consist primarily of cash and cash equivalents, accounts receivable and settlement assets. The Company’s cash and cash equivalents are held by established financial institutions. The Company does not require collateral from its customers and generally requires payment within 30 to 60 days of billing. Settlement assets are amounts due from well-established payment processing companies and normally take one two The Company’s customers are primarily physician’s offices located in the United States and pharmaceutical companies. The Company did not have any individual customers that represented more than 10% of total revenues for the years ended January 31, 2021 and January 31, 2020. As of January 31, 2021, the Company had receivables from an entity that accounted for 10% of total accounts receivable. (d) Risks and uncertainties Risks Related to the COVID-19 Pandemic In March 2020, the World Health Organization declared the ongoing outbreak of a novel strain of coronavirus (COVID-19) a pandemic and the United States declared a national emergency with respect to COVID-19. There continues to be uncertainty as to the extent to which the global COVID-19 pandemic may adversely impact our business operations, financial performance, and results of operations at this time. Other Risks and Uncertainties The Company is subject to a variety of risk factors, including the economy, data privacy and security laws, government regulations, and other risks associated with the markets in which we operate including reliance on third party vendors, partners, and service providers. As with any business, operation of the Company involves risk, including the risk of service interruption impacting the operations of our business and our customer’s facilities below expected levels of operation, shut downs due to the breakdown or failure of information technology and communications systems, changes in laws or regulations, or catastrophic events such as fires, earthquakes, floods, explosions, global health concerns such as pandemics or other similar occurrences affecting the delivery of our productions and services. The occurrence of any of these events could significantly reduce or eliminate revenues generated, or significantly increase the expenses of our operations, adversely impacting the Company’s operating results and our ability to meet our obligations and commitments. See Note 6 - Debt and Finance Lease Liabilities, for a summary of our contractual commitments as of January 31, 2021. (e) Cost of revenue (excluding depreciation and amortization) Cost of revenue (excluding depreciation and amortization) primarily consists of personnel expenses for implementation and technical support, costs to verify insurance eligibility and benefits, infrastructure costs for operation of our SaaS-based Platform such as hosting fees and certain fees paid to various third party partners for the use of their technology. Personnel expenses consist of salaries, benefits, bonuses and stock-based compensation. (f) Payment processing expense Payment processing expense consists primarily of interchange fees set by payment card networks and that are ultimately paid to the card-issuing financial institution, assessment fees paid to payment card networks that are ultimately paid to third-party payment processors and gateways. (g) Sales and marketing Sales and marketing expense consists primarily of personnel costs, including salaries, benefits, bonuses, stock-based compensation and commission costs for our sales and marketing personnel. Sales and marketing expense also include costs for advertising, promotional and other marketing activities, as well as certain fees paid to various third-party partners for sales lead generation. Advertising is expensed as incurred. Advertising expense was $558, $251 and $134 for the fiscal years ended 2021, 2020 and 2019, respectively. (h) Research and development Research and development expense consists of costs for the design, development, testing and enhancement of the Company’s products and services and are generally expensed as incurred. These costs consist primarily of personnel costs, including salaries, benefits, bonuses, and stock-based compensation for our development personnel. Research and development expense also includes product management, life sciences analytics costs, third-party partner fees and third-party consulting fees, offset by any internal-use software development cost capitalized during the same period. (i) General and administrative General and administrative expense consists primarily of personnel costs, including salaries, benefits, bonuses, and stock-based compensation for our executive, finance, legal, human resources, information technology, and other administrative personnel. General and administrative expense also includes consulting, legal, security, accounting services and allocated overhead. (j) Depreciation Depreciation represents depreciation expense for PhreesiaPads and Arrivals Kiosks (collectively, Phreesia hardware), data center and other computer hardware, purchased computer software, furniture and fixtures and leasehold improvements. (k) Amortization Amortization primarily represents amortization of our capitalized internal-use software related to the Phreesia Platform as well as amortization of acquired intangible assets. (l) Cash and cash equivalents The Company considers all highly liquid investments with an original maturity of three months or less at the time of purchase to be cash equivalents. The Company's money market account meets the definition of cash equivalents. (m) Settlement assets Settlement assets represent amounts due from the Company’s payment processor for customer electronic processing transactions. Settlement assets are typically settled within one two (n) Settlement obligations Settlement obligations represent amounts due to customers for electronic processing transactions that have not been funded by the Company due to timing of settlement from the Company’s payment processor. (o) Accounts receivable Accounts receivable represent trade receivables, net of allowances for doubtful accounts. The Company estimates the allowance for doubtful accounts as its current estimate of expected credit loss over the life of the instrument. The Company determines the allowance based on historical trends of accounts receivable balances that have been written off and specific account analysis of at-risk customers, as well as expected future changes in credit losses. The Company determines its allowance for doubtful accounts by considering a number of factors, including the length of time accounts are past due, a customer’s current ability to pay its obligations to the Company, the condition of the industry as a whole, as well as expected future changes in credit losses. Accounts receivable are written off at the point that internal collections efforts have been exhausted. As of January 31, 2021 and 2020, the Company has reserved $699 and $943, respectively, for the allowance for doubtful accounts. Account receivable also includes unbilled accounts receivable (see Contract Balances in Note 5). (p) Property and equipment Property and equipment, including PhreesiaPads and Arrivals Kiosks, are stated at cost less accumulated depreciation. Depreciation of property and equipment is computed using the straight-line method over the estimated useful lives of the related assets. The estimated useful lives of the Company’s property and equipment have been estimated to be between three Upon sale or disposition of property and equipment, the cost and related accumulated depreciation are removed from their respective accounts and any gain or loss is reflected in the statements of operations. (q) Capitalized internal-use software The Company capitalizes certain costs incurred for the development of computer software for internal use pursuant to ASC Topic 350-40, Intangibles—Goodwill and Other—Internal use software . These costs relate to the development of its Phreesia Platform. The Company capitalizes the costs during the development of the project, when it is determined that it is probable that the project will be completed, and the software will be used as intended. Costs related to preliminary project activities, post-implementation activities, training and maintenance are expensed as incurred. Internal-use software is amortized on a straight-line basis over its estimated useful life, which is generally three years. Management evaluates the useful lives of these assets on an annual basis and tests for impairment whenever events or changes in circumstances occur that could impact the recoverability of these assets. The Company exercises judgment in determining the point at which various projects may be capitalized, in assessing the ongoing value of the capitalized costs and in determining the estimated useful lives over which the costs are amortized. To the extent that the Company changes the manner in which it develops and tests new features and functionalities related to its solutions, assesses the ongoing value of capitalized assets or determines the estimated useful lives over which the costs are amortized, the amount of internal-use software development costs the Company capitalizes and amortizes could change in future periods. Refer to Note 4(c) for further detail on internal-use software costs capitalized during the period. (r) Business combinations The Company uses its best estimates and assumptions to accurately assign fair value to the tangible and intangible assets acquired and liabilities assumed at the acquisition date. The Company’s estimates are inherently uncertain and subject to refinement. During the measurement period, which may be up to one year from the acquisition date, the Company may record adjustments to the fair value of these tangible and intangible assets acquired and liabilities assumed, with the corresponding offset to goodwill. The Company continues to collect information and reevaluate these estimates and assumptions quarterly and records any adjustments to its preliminary estimates to goodwill provided that the Company is within the measurement period. Upon the conclusion of the measurement period or final determination of the fair value of assets acquired or liabilities assumed, whichever comes first, any subsequent adjustments are recorded to the statement of operations. The consideration transferred for business combinations includes the acquisition-date fair value of contingent consideration. Changes in the fair value of contingent consideration liabilities are included in general and administrative expense in the accompanying consolidated statements of operations. (s) Goodwill and intangible assets Goodwill represents the excess of the consideration transferred over the fair value of the underlying net tangible and intangible assets acquired and liabilities assumed in connection with business combinations accounted for using the acquisition method of accounting. Goodwill is not amortized, but instead goodwill is required to be tested for impairment annually and under certain circumstances. We perform such testing of goodwill in the fourth quarter of each fiscal year, or as events occur or circumstances change that would more likely than not reduce the fair value below its carrying amount. The testing of goodwill is performed at the reporting unit level. The Company’s reporting unit is the same as its operating segment. The test begins with a qualitative assessment to determine whether it is “more likely than not” that the fair value of the reporting unit is less than its carrying amount. If it is concluded that it is “more likely than not” that the fair value of a reporting unit is less than its carrying amount, the Company performs a quantitative goodwill impairment test by calculating the fair value of the reporting unit and comparing that fair value to the carrying value of the reporting unit. If the estimated fair value of the reporting unit is less than its carrying amount, the Company records a goodwill impairment to reduce the carrying amount of goodwill by the amount by which the fair value of the reporting unit is less than its carrying amount. All other intangible assets associated with purchased intangibles, consisting of customer relationships and acquired technology, are stated at cost less accumulated amortization and are amortized on a straight-line basis over their estimated remaining economic lives. (t) Long-lived assets Long-lived assets, such as property and equipment and intangible assets, including capitalized internal-use software, are reviewed for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset may not be recoverable. If circumstances require a long-lived asset or asset group be tested for possible impairment, the Company first compares the undiscounted cash flows expected to be generated by that asset or asset group to its carrying value. If the carrying value of the long-lived asset or asset group is not recoverable on an undiscounted cash flow basis, an impairment is recognized to the extent that the carrying value exceeds its fair value. There were no impairment charges recognized during any of the periods presented. (u) Income taxes An asset and liability approach is used for financial accounting and reporting of current and deferred income taxes. Deferred income tax assets and liabilities are computed for temporary differences between the financial statement and tax basis of assets and liabilities that will result in taxable or deductible amounts in the future. Such deferred income tax asset and liability computations are based on enacted tax laws and rates applicable to periods in which the differences are expected to affect taxable income or loss. Valuation allowances are established when necessary to reduce deferred tax assets to the amounts expected to be realized. The Company follows the guidance in ASC 740, Accounting for Uncertainty in Income Taxes . ASC 740 clarifies the accounting for uncertainty in income taxes recognized in a Company’s financial statements and prescribes a recognition threshold and measurement attribute for the financial statement recognition and measurement of a tax position taken or expected to be taken in a tax return. ASC 740 also provides guidance on de-recognition, classification, interest and penalties, accounting in the interim periods, disclosure, and transition. The Company reviews and evaluates tax positions in its major jurisdictions and determines whether or not there are uncertain tax positions that require financial statement recognition and the recording of a tax liability. The Company would recognize tax related interest and penalties, if applicable, as a component of its provision (benefit) from income taxes. (v) Segment information Operating segments are defined as components of an enterprise about which separate financial information is evaluated regularly by the chief operating decision maker in deciding how to allocate resources and assessing performance. The Company defines the term “chief operating decision maker” to be its Chief Executive Officer. The Company’s Chief Executive Officer reviews the financial information presented on an entire company basis for purposes of allocating resources and evaluating our financial performance. Accordingly, we have determined that we operate in a single reportable operating segment. Since we operate in one operating segment, all required financial segment information can be found in the consolidated financial statements. (w) Stock-based compensation The Company has stock-based compensation plans under which various types of equity-based awards are granted, including stock options, restricted stock units (RSUs), performance-based RSUs, and market-based performance stock units (PSUs). The compensation for the stock-based awards is recognized in accordance with ASC 718, Compensation — Stock Compensation , which requires that compensation cost be recognized for awards based on the grant-date fair value of the award. That cost is recognized on a straight-line basis over the requisite service period, which is generally the vesting period of the award. For performance-based RSUs, the number of shares expected to vest is estimated at each reporting date based on management's expectations regarding the relevant performance criteria. The fair value of stock options is estimated at the time of grant using the Black-Scholes option pricing model, which requires the use of inputs and assumptions such as the exercise price of the option, expected term, risk-free interest rate, expected volatility and dividend yield, and the value of the Company's common stock (which is estimated for awards granted prior to our IPO). The Company does not estimate forfeitures in recognizing stock-based compensation expense. The fair value of the RSUs is equal to the fair value of the Company's common stock on the grant date of the award. The fair value of market-based PSUs is estimated at the time of grant using a Monte-Carlo simulation which compares Phreesia's projected total shareholder return (TSR) to the projected TSR of the Russell 3000 Index and estimates the value of shares to be issued based on the vesting conditions of the PSUs. The Monte Carlo simulation requires the use of inputs and assumptions such as the valuation-date stock price, simulation, expected volatility, correlation coefficient to the Russell 3000 Index, risk-free interest rate and dividend yield. See Note 8 - Equity Based Compensation, for additional information on stock-based compensation. (x) Fair value of financial instruments Certain assets and liabilities are carried at fair value under generally accepted accounting principles. Fair value is defined as the exchange price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. Valuation techniques used to measure fair value must maximize the use of observable inputs and minimize the use of unobservable inputs. Financial assets and liabilities carried at fair value are to be classified and disclosed in one of the following three levels of the fair value hierarchy, of which the first two are considered observable and the last is considered unobservable: Level 1—Quoted prices in active markets for identical assets or liabilities. Level 2—Observable inputs (other than Level 1 quoted prices), such as quoted prices in active markets for similar assets or liabilities, quoted prices in markets that are not active for identical or similar assets or liabilities or other inputs that are observable or can be corroborated by observable market. Level 3—Unobservable inputs which are supported by little or no market activity and that are significant to determining the fair value of the assets or liabilities, including pricing models, discounted cash flow methodologies and similar techniques. The fair value hierarchy also requires an entity to maximize the use of observable inputs and minimize the use of unobservable inputs when measuring fair value. (y) Equity offering costs The Company capitalizes certain legal, accounting and other third-party fees that are directly associated with in-process equity financings as deferred offering costs until such financings are consummated. After consummation of the equity financing, these costs will be recorded in stockholders’ deficit as a reduction of additional paid-in capital generated as a result of the offering. Should the equity financing no longer be considered probable of being consummated, all deferred offering costs would be charged to operating expenses in the statement of operations. During October 2020, the Company completed a follow-on offering of its Common Stock. In connection with the follow-on offering, the Company issued and sold 5,750,000 shares of common stock at an issuance price of $32.00 per share resulting in net proceeds of $174,800, after deducting underwriting discounts and commissions. (z) Foreign currency The Company has a branch office in Canada that provides operational support. The functional currency of the Company’s foreign branch is the U.S. dollar. Accordingly, assets and liabilities of the Company’s foreign branch are re-measured into U.S. dollars at the exchange rates in effect at the reporting date with differences recorded as transaction gains and losses within other income (expense). (aa) New accounting pronouncements Impact of recently adopted accounting pronouncements On May 1, 2020, the Company adopted the Financial Accounting Standards Board's (FASB) Accounting Standard Update (ASU) 2018-15, Customer’s Accounting for Implementation Costs Incurred in a Cloud Computing Arrangement That Is a Service Contract, which is intended to align the requirements for capitalization of implementation costs incurred in a cloud computing arrangement that is a service contract with the existing guidance for internal-use software. The guidance requires capitalized costs to be included within prepaid expenses and the guidance requires amortization of capitalized costs to be included in the same line as the associated cloud subscription costs in the statement of operations. The Company adopted ASU 2018-15 prospectively for implementation costs incurred subsequent to May 1, 2020. See Note 4 - Composition of Certain Financial Statement Captions for additional information. On February 1, 2020, the Company adopted ASU No. 2016-02, Leases (Topic 842) which requires lessees to record most leases on their balance sheets but to recognize the expenses in their statement of operations in a manner similar to the prior standard. Topic 842 states that a lessee would recognize a lease liability for the obligation to make lease payments and a right-of-use asset for the right to use the underlying asset for the lease term. The Company adopted the new lease guidance using a modified retrospective transition method applied to those leases which were not completed as of February 1, 2020. As a result, the Company was not required to adjust its comparative period financial information for effects of the standard or make the new required lease disclosures for the periods before the date of adoption. The Company elected the "package of practical expedients", which permits the Company not to reassess under the new standard our prior conclusions about lease identification, lease classification and initial direct costs. The Company did not elect the use-of-hindsight practical expedient. The new standard also provides practical expedients for an entity’s ongoing accounting. The Company elected the short-term lease recognition exemption for all of its leases. This means, for those leases that qualify, the Company will not recognize right-of-use assets or lease liabilities, including existing short-term leases as of the transition date. The Company also elected the practical expedient to not separate lease and non-lease components for its office and computer equipment leases. Upon adoption of Topic 842 the Company recognized operating lease right-of-use assets and operating lease liabilities related to its office leases of $2,741 and $2,928, respectively. The Company’s accounting for lessee finance and all lessor leases remains substantially unchanged from legacy guidance. The standard did not have a significant impact on our statements of operations or statements of cash flows. No adjustment to accumulated deficit was recorded because the adoption did not change the Company's net assets. On February 1, 2020, the Company adopted ASU 2016-13, Financial Instruments - Credit Losses . The update requires the recognition of all losses expected over the life of a financial instrument upon origination or purchase of the instrument. The Company adopted this update using a modified retrospective method. No adjustment to accumulated deficit was recorded as a result of the adoption of this standard, which did not have a material impact on the Company's consolidated financial statements. In August 2018, the FASB issued ASU No. 2018-13, Fair Value Measurement (Topic 820) : Disclosure Framework—Changes to the Disclosure Requirements for Fair Value Measurement (ASU 2018-13). ASU 2018-13 updates the disclosure requirements for fair value measurements and is effective for the consolidated financial statements issued for fiscal years beginning after December 15, 2019. The Company adopted the new guidance effective February 1, 2020, and it did not have a material effect on its consolidated financial statements. Recent accounting pronouncements not yet adopted There are no recently issued accounting pronouncements the Company has not yet adopted that will materially impact the Company's consolidated financial statements. |