XML 19 R7.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2021
CASH FLOWS FROM OPERATING ACTIVITIES:      
Net income $ 560 $ 127,672 $ 11,212
Adjustments to reconcile net income to net cash (used in) provided by operating activities:      
Stock-based compensation 10,978 7,380 3,854
Depreciation and amortization 7,210 4,480 3,453
Amortization of debt discount and issuance costs 1,046 1,030 916
Deferred income taxes 1,443 (115,082) 0
Loss on disposal and/or impairment of property and equipment 139 381 0
Changes in operating assets and liabilities:      
Accounts receivable, net 2,249 (1,705) (10,236)
Contract assets (4,240) 743 (2,812)
Inventory (17,846) (14,191) (988)
Prepaid expenses and other assets (61) (4,232) (1,260)
Accounts payable 964 (943) (608)
Accrued compensation and benefits 362 (376) 5,775
Contract liabilities (16,446) 3,029 21,649
Other accrued expenses and liabilities 755 1,279 227
Net cash (used in) provided by operating activities (12,887) 9,465 31,182
CASH FLOWS FROM INVESTING ACTIVITIES:      
Purchase of property and equipment (77,638) (56,411) (9,864)
Net cash used in investing activities (77,638) (56,411) (9,864)
CASH FLOWS FROM FINANCING ACTIVITIES:      
Proceeds from issuance of common stock under equity compensation plans 3,406 3,359 3,984
Proceeds from issuance of common stock, net of issuance costs 0 0 32,141
Proceeds from issuance of convertible senior notes, net of issuance costs 0 0 138,464
Purchases of capped calls related to convertible senior notes 0 0 (12,837)
Repayment of note payable 0 0 (4,379)
Dividends paid on preferred stock 0 0 (4,455)
Redemption of preferred stock 0 0 (37,051)
Impact of preferred stock redemption 0 0 (3,439)
Principal payments on finance leases (505) (162) (93)
Net cash provided by financing activities 2,901 3,197 112,335
Net (decrease) increase  in cash, cash equivalents and restricted cash (87,624) (43,749) 133,653
Cash, cash equivalents and restricted cash, beginning of period 126,516 170,265 36,612
Cash, cash equivalents and restricted cash, end of period 38,892 126,516 170,265
Supplemental disclosures of cash flow information:      
Cash paid for interest 1,118 1,670 5
Cash paid for income taxes 260 64 0
Supplemental disclosures of non-cash activities:      
Unpaid purchases of property and equipment in accounts payable $ 14,125 $ 1,190 $ 3,939