v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jan. 31, 2024
Jan. 31, 2023
Jan. 31, 2022
Operating activities:      
Net loss $ (136,885) $ (176,146) $ (118,161)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 29,487 25,304 21,302
Stock-based compensation expense 71,613 58,775 36,144
Amortization of deferred financing costs and debt discount 321 310 288
Loss on extinguishment of debt 1,118 0 0
Cost of Phreesia hardware purchased by customers 1,619 1,598 672
Deferred contract acquisition costs amortization 1,056 1,696 2,211
Non-cash operating lease expense 702 1,768 1,004
Change in fair value of contingent consideration liabilities 0 0 258
Deferred taxes 228 434 143
Changes in operating assets and liabilities:      
Accounts receivable (11,205) (11,132) (10,216)
Prepaid expenses and other assets (2,209) 250 (7,192)
Deferred contract acquisition costs 0 (427) (3,349)
Accounts payable (1,993) 4,774 2,881
Accrued expenses and other liabilities 14,195 2,720 (2,983)
Lease liabilities (1,156) (1,302) (1,060)
Deferred revenue 731 1,255 3,348
Net cash used in operating activities (32,378) (90,123) (74,710)
Investing activities:      
Acquisitions, net of cash acquired (14,573) 0 (34,423)
Capitalized internal-use software (19,291) (21,471) (12,385)
Purchases of property and equipment (5,806) (4,732) (18,420)
Net cash used in investing activities (39,670) (26,203) (65,228)
Financing activities:      
Proceeds from issuance of common stock in equity offerings, net of underwriters' discounts and commissions 0 0 245,813
Proceeds from issuance of common stock upon exercise of stock options 955 1,603 4,889
Treasury stock to satisfy tax withholdings on stock compensation awards (12,176) (19,383) (8,995)
Proceeds from employee stock purchase plan 3,209 3,321 1,979
Finance lease payments (6,779) (5,731) (4,267)
Constructive financing 1,688 0 0
Principal payments on financing agreements (600) (216) (1,039)
Debt issuance costs and loan facility fee payments (1,321) (397) (125)
Financing payments of acquisition-related liabilities (1,333) 0 (3,286)
Debt extinguishment costs (758) 0 0
Net cash (used in) provided by financing activities (17,115) (20,803) 234,969
Net (decrease) increase in cash and cash equivalents (89,163) (137,129) 95,031
Cash and cash equivalents—beginning of year 176,683 313,812 218,781
Cash and cash equivalents—end of year 87,520 176,683 313,812
Supplemental information of non-cash investing and financing activities:      
Right of use assets acquired in exchange for operating lease liabilities 398 0 81
Property and equipment acquisitions through finance leases 7,438 526 7,394
Purchase of property and equipment and capitalized software included in accounts payable and accrued liabilities 1,299 2,345 1,124
Receivables for cash in-transit on stock option exercises 0 97 169
Capitalized stock based compensation 1,415 1,372 489
Issuance of stock to settle liabilities for stock-based compensation 12,276 12,284 0
Deferred consideration liabilities payable in business combinations 8,732 0 0
Acquisitions, net of cash acquired 35,321 0 0
Capitalized software acquired through vendor financing 2,047 0 0
Cash paid for:      
Interest 1,306 763 802
Income taxes $ 37 $ 39 $ 49