Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Cash flows from operating activities:    
Net income $ 574 $ 1,094
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 18,048 19,049
Stock-based compensation, excluding cash-settled awards 18,364 16,405
Change in fair value of future tranche right 0 (15,810)
Non-cash losses on derivative financial instruments, net 0 14,374
Losses on early retirements of debt 0 2,474
Other, net 2,163 (2,317)
Changes in operating assets and liabilities:    
Accounts receivable 41,766 58,026
Contract assets 4,024 (2,184)
Inventories 68 (350)
Prepaid expenses and other assets (8,686) (18,781)
Accounts payable and accrued expenses (5,694) (1,510)
Contract liabilities (9,645) (15,524)
Deferred income taxes (1,074) (16,977)
Other, net (5,982) (260)
Net cash provided by operating activities — continuing operations 53,926 37,709
Net cash used in operating activities — discontinued operations 0 (8,007)
Net cash provided by operating activities 53,926 29,702
Cash flows from investing activities:    
Purchases of property and equipment (5,224) (4,369)
Maturities and sales of investments 250 45,640
Purchases of investments (250) 0
Cash paid for capitalized software development costs (2,003) (1,966)
Change in restricted bank time deposits, and other investing activities, net 20 (32)
Net cash (used in) provided by investing activities (7,207) 39,273
Cash flows from financing activities:    
Proceeds from issuance of preferred stock 0 200,000
Proceeds from borrowings 0 315,000
Repayments of borrowings and other financing obligations (775) (310,633)
Purchases of capped calls 0 (40,950)
Payments of debt-related costs (93) (9,422)
Purchases of treasury stock and common stock for retirement (105,213) (75,014)
Preferred stock dividend payments (10,400) (5,200)
Payment for termination of interest rate swap 0 (16,502)
Net cash transferred to Cognyte Software Ltd. 0 (114,657)
Dividend and other settlements received from Cognyte Software Ltd. 0 40,164
Payments of contingent consideration for business combinations (financing portion), and other financing activities (1,549) (2,842)
Net cash used in financing activities (118,030) (20,056)
Foreign currency effects on cash, cash equivalents, restricted cash, and restricted cash equivalents (2,431) 218
Net (decrease) increase in cash, cash equivalents, restricted cash, and restricted cash equivalents (73,742) 49,137
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of period 358,868 700,133
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period $ 285,126 $ 749,270