XML 29 R7.htm IDEA: XBRL DOCUMENT v3.23.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities      
Net loss $ (9,280) $ (5,347) $ (6,311)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 4,527 5,513 6,389
Share-based compensation 10,053 10,600 9,332
Amortization of debt issuance costs 926 817 1,356
Accretion of interest on debt 0 0 4,887
Provision for credit losses 2,290 266 133
Non-cash revenue transactions related to the joint venture 0 0 (1,365)
Provision for write-down of inventories 4,369 3,478 6,914
(Gain) loss on disposal of property and equipment (135) 28 106
Income on equity method investment (2,572) (241) (872)
Deferral of equity method investment intra-entity profit on sales 282 3,300 310
Loss on extinguishment of debt 0 0 9,948
Provision (benefit) for deferred income taxes 456 1,785 (114)
Changes in assets and liabilities:      
Accounts receivable 18,488 (12,519) 5,235
Inventories (6,855) (22,861) 1,688
Prepaid expenses and other assets (4,029) (6,042) (951)
Deferred cost of revenue 891 1,549 (296)
Accounts payable 2,850 11,676 (3,978)
Operating lease liabilities, net of operating lease right-of-use assets (324) (880) (663)
Accrued liabilities 887 6,685 8,089
Customer advances (4,669) 1,238 2,237
Deferred revenues (2,616) (1,445) (3,562)
Net cash provided by (used in) operating activities 15,539 (2,400) 38,512
Cash flows from investing activities      
Purchases of property and equipment, net (12,614) (4,717) (2,320)
Purchase of intangible assets (67) 0 0
Additional investments in the joint venture 0 0 (79)
Net cash used in investing activities (12,681) (4,717) (2,399)
Cash flows from financing activities      
Proceeds from the issuance of common stock to employees 2,200 3,889 3,030
Taxes paid related to net share settlement of equity awards (199) (258) (343)
Convertible senior notes exchange and issued, net of issuance costs 0 0 (142)
Paydown and repayment of prior term loan and prior revolving credit facility 0 0 (115,924)
Proceeds from the issuance of the Term Loan Facility 0 0 80,000
Debt issuance costs (248) 0 (1,346)
Repayment of convertible notes (2,865) 0 0
Paydown under Term Loan Facility (6,000) (4,000) 0
Borrowings under the Revolving Credit Facility 5,000 0 25,000
Repayments under the Revolving Credit Facility 0 (15,000) (5,000)
Stock repurchase 0 0 (14,080)
Net cash used in financing activities (2,112) (15,369) (28,805)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 302 (5,561) 982
Net increase (decrease) in cash, cash equivalents and restricted cash 1,048 (28,047) 8,290
Cash, cash equivalents and restricted cash at beginning of period 90,154 118,201 109,911
Cash, cash equivalents and restricted cash at end of period 91,202 90,154 118,201
Supplemental Disclosure of Cash Flow Information      
Cash paid for income taxes 2,150 1,398 1,873
Cash paid for interest 9,847 7,462 11,892
Supplemental non-cash disclosure:      
Prior convertible note exchanged 0 0 (82,135)
New convertible note exchanged 0 0 97,148
Unpaid purchase of property and equipment at end of year 2,064 813 555
Receivable for the sale of property and equipment 221 0 0
Transfers from inventory to property and equipment $ 303 $ 0 $ 564