v3.22.2.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Cash flows from operating activities:    
Net loss $ (54,281) $ (17,218)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 14,426 9,139
Amortization (accretion) of premium (discount) on marketable debt securities, net (281) 1,034
Stock-based compensation 82,051 60,267
Deferred income taxes 755 (553)
Other non-cash items, net 28 (517)
Changes in operating assets and liabilities:    
Accounts receivable (4,249) (19,802)
Inventories (176) (20,958)
Prepaid expenses and other current assets 80 (275)
Other non-current assets 841 878
Accounts payable (2,044) 5,947
Accrued and other current liabilities 2,813 2,359
Income taxes payable 2,537 396
Deferred revenue (378) (57)
Operating lease liabilities (3,254) (2,681)
Other long-term liabilities 135 265
Net cash provided by operating activities 39,003 18,224
Cash flows from investing activities:    
Purchase of investments (87,641) (118,726)
Sales of investments 756 208,132
Maturities of investments   107,760
Purchase of tangible and intangible assets (13,023) (6,235)
Escrow claim associated with business acquisition 749  
Net cash provided by (used in) investing activities (99,159) 190,931
Cash flows from financing activities:    
Proceeds from exercise of stock options and employee stock purchase plan 6,834 11,127
Long-term financing payment for intangible assets (4,887) (3,796)
Net cash provided by financing activities 1,947 7,331
Net increase (decrease) in cash, cash equivalents and restricted cash (58,209) 216,486
Cash, cash equivalents and restricted cash at beginning of period 171,053 241,284
Cash, cash equivalents and restricted cash at end of period 112,844 457,770
Supplemental disclosure of cash flow information:    
Cash paid for income taxes 1,340 1,294
Supplemental disclosure of noncash investing and financing activities:    
Unpaid liabilities related to tangible and intangible assets purchases $ 1,239 $ 1,346