v3.22.2.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Cash flows from operating activities:    
Net loss $ (34,472) $ (17,974)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 9,295 5,803
Amortization (accretion) of premium (discount) on marketable debt securities, net   852
Stock-based compensation 53,950 38,214
Deferred income taxes 1,181 215
Other non-cash items, net 42 13
Changes in operating assets and liabilities:    
Accounts receivable 6,609 (13,321)
Inventories 5,116 (15,995)
Prepaid expenses and other current assets (753) 1,033
Other non-current assets 765 435
Accounts payable (11,873) 11,992
Accrued and other current liabilities 4,380 (619)
Income taxes payable 1,865 764
Deferred revenue (957) 58
Operating lease liabilities (2,159) (1,763)
Other long-term liabilities 14 183
Net cash provided by operating activities 33,003 9,890
Cash flows from investing activities:    
Purchase of investments (2,972) (101,664)
Escrow claim associated with business acquisition 749  
Sales of investments   32,839
Maturities of investments   75,490
Purchase of tangible and intangible assets (8,088) (3,754)
Net cash provided by (used in) investing activities (10,311) 2,911
Cash flows from financing activities:    
Proceeds from exercise of stock options and employee stock purchase plan 4,087 7,161
Long-term financing payment for intangible assets (2,878) (2,834)
Net cash provided by financing activities 1,209 4,327
Net increase in cash, cash equivalents and restricted cash 23,901 17,128
Cash, cash equivalents and restricted cash at beginning of period 171,053 241,284
Cash, cash equivalents and restricted cash at end of period 194,954 258,412
Supplemental disclosure of cash flow information:    
Cash paid for income taxes 661 1,085
Supplemental disclosure of noncash investing and financing activities:    
Unpaid liabilities related to tangible and intangible assets purchases $ 3,647 $ 1,332