XML 19 R7.htm IDEA: XBRL DOCUMENT v3.24.3
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities      
Net loss $ (15,545) $ (9,280) $ (5,347)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 5,905 4,527 5,513
Share-based compensation 9,484 10,053 10,600
Amortization of debt issuance costs 955 926 817
Provision for (recovery from) credit losses (479) 2,290 266
Provision for write-down of inventories 6,022 4,369 3,478
(Gain) loss on disposal of property and equipment 11 (135) 28
Income on equity method investment (1,838) (2,572) (241)
Net deferred profit margin on sales to the JV 4,098 282 3,300
Provision for deferred income taxes 1,402 456 1,785
Changes in assets and liabilities:      
Accounts receivable (15,826) 18,488 (12,519)
Inventories (3,998) (6,855) (22,861)
Prepaid expenses and other assets 6,105 (4,029) (6,042)
Deferred cost of revenue (275) 891 1,549
Accounts payable 17,365 2,850 11,676
Operating lease liabilities, net of operating lease right-of-use assets 321 (324) (880)
Accrued liabilities (16,506) 887 6,685
Customer advances (6,619) (4,669) 1,238
Deferred revenues (2,486) (2,616) (1,445)
Net cash provided by (used in) operating activities (11,904) 15,539 (2,400)
Cash flows from investing activities      
Purchases of property and equipment, net (3,601) (12,614) (4,717)
Purchase of intangible assets 0 (67) 0
Net cash used in investing activities (3,601) (12,681) (4,717)
Cash flows from financing activities      
Proceeds from the issuance of common stock to employees 2,247 2,200 3,889
Taxes paid related to net share settlement of equity awards (117) (199) (258)
Debt issuance costs (81) (248) 0
Repayments of convertible notes 0 (2,865) 0
Paydown under Term Loan Facility (6,000) (6,000) (4,000)
Borrowings under the Revolving Credit Facility 5,000 5,000 0
Repayments under the Revolving Credit Facility (5,000) 0 (15,000)
Net cash used in financing activities (3,951) (2,112) (15,369)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,354) 302 (5,561)
Net increase (decrease) in cash, cash equivalents and restricted cash (20,810) 1,048 (28,047)
Cash, cash equivalents and restricted cash at beginning of period 91,202 90,154 118,201
Cash, cash equivalents and restricted cash at end of period 70,392 91,202 90,154
Supplemental Disclosure of Cash Flow Information      
Cash paid for income taxes 1,749 2,150 1,398
Cash paid for interest 10,520 9,847 7,462
Supplemental non-cash disclosure:      
Unpaid purchase of property and equipment at end of year 445 2,064 813
Receivable for the sale of property and equipment 0 221 0
Leasehold improvement from lease incentive 2,593 0 0
Transfers from inventory to property and equipment 3,438 303 0
Dividend receivable from joint venture $ 2,460 $ 0 $ 0