XML 24 R8.htm IDEA: XBRL DOCUMENT v3.24.1.1.u2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
12 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Apr. 30, 2022
Operating activities      
Net income (loss) $ 59,666,000 $ (176,167,000) $ (4,185,000)
Adjustments to reconcile net income (loss) to cash provided by (used in) operating activities:      
Depreciation and amortization 35,749,000 99,999,000 60,825,000
Impairment of goodwill   156,017,000  
Loss (gain) from equity method investments 1,674,000 2,453,000 (5,889,000)
Loss on deconsolidation of previously controlled subsidiary   (189,000)  
Amortization of debt issuance costs 1,009,000 845,000 789,000
Provision for doubtful accounts 4,000 99,000 (6,000)
Reserve for inventory excess and obsolescence 13,937,000 8,136,000 2,271,000
Other non-cash expense, net 1,316,000 1,995,000 649,000
Non-cash lease expense 10,400,000 8,048,000 6,814,000
Loss on foreign currency transactions 22,000 119,000 233,000
Unrealized loss (gain) on available-for-sale equity securities, net 3,945,000 132,000  
Deferred income taxes (23,290,000) (18,661,000) (7,282,000)
Stock-based compensation 17,069,000 10,765,000 5,390,000
Loss on disposal of property and equipment 621,000 1,497,000 8,277,000
Amortization of debt securities discount   125,000 242,000
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable 19,208,000 (27,423,000) 3,084,000
Unbilled receivables and retentions (92,850,000) (1,446,000) (31,883,000)
Inventories (23,045,000) (61,846,000) (29,431,000)
Income taxes receivable   442,000 (442,000)
Prepaid expenses and other assets (20,279,000) (3,821,000) (4,534,000)
Accounts payable 12,968,000 12,538,000 (7,044,000)
Other liabilities (2,832,000) (2,635,000) (7,496,000)
Net cash provided by (used in) operating activities 15,292,000 11,400,000 (9,618,000)
Investing activities      
Acquisition of property and equipment (22,983,000) (14,868,000) (22,289,000)
Equity method investments (3,074,000) (5,778,000) (6,884,000)
Equity security investments   (5,100,000)  
Acquisitions of intangible assets (1,500,000)    
Business acquisitions, net of cash acquired (24,157,000) (5,105,000) (46,150,000)
Proceeds from sale of ownership in equity method investment     6,497,000
Proceeds from loan repayment     4,345,000
Proceeds from deconsolidation of previously controlled subsidiary, net of cash deconsolidated   (635,000)  
Redemptions of available-for-sale investments   26,059,000 35,851,000
Purchases of available-for-sale investments   (1,326,000) (23,882,000)
Other   (250,000) 224,000
Net cash (used in) investing activities (51,714,000) (7,003,000) (52,288,000)
Financing activities      
Principal payments of term loan (107,000,000) (55,000,000) (10,000,000)
Payment of contingent consideration (2,132,000)    
Holdback and retention payments for business acquisition (500,000)   (7,814,000)
Proceeds from shares issued, net of issuance costs 88,437,000 104,649,000  
Payment of debt issuance costs (37,000)   (293,000)
Tax withholding payment related to net settlement of equity awards (1,596,000) (1,065,000) (1,245,000)
Exercise of stock options 0 2,278,000 2,776,000
Other (24,000) (28,000) (31,000)
Net cash (used in) provided by financing activities (22,852,000) 50,834,000 (16,607,000)
Effects of currency translation on cash and cash equivalents (284,000) 397,000 (1,319,000)
Net (decrease) increase in cash, cash equivalents, and restricted cash (59,558,000) 55,628,000 (79,832,000)
Cash, cash equivalents and restricted cash at beginning of period 132,859,000 77,231,000 157,063,000
Cash, cash equivalents and restricted cash at end of period 73,301,000 132,859,000 77,231,000
Cash paid, net during the period for:      
Income taxes 20,438,000 2,911,000 1,879,000
Interest 6,823,000 10,229,000 5,025,000
Non-cash activities      
Unrealized gain (loss) on available-for-sale investments, net of deferred tax expense of $0, $0 and $8 for the fiscal years ended April 30, 2024, 2023 and 2022, respectively   53,000 (43,000)
Issuance of common stock for business acquisition 109,820,000    
Change in foreign currency translation adjustments (1,140,000) 2,009,000 6,814,000
Issuances of inventory to property and equipment, ISR in-service assets   6,306,000 17,481,000
Acquisitions of property and equipment included in accounts payable $ 986,000 $ 721,000 $ 1,117,000