XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.4
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities    
Net loss $ (7,323) $ (849)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 2,327 2,841
Share-based compensation 6,042 5,211
Amortization of debt issuance costs 447 379
Provision for credit losses 68 366
Provision for write-down of inventories 1,972 1,875
Loss on disposal of property and equipment 2 28
Loss on equity method investment 1,067 1,172
Deferral (release) of equity method investment intra-entity profit margin from sales (986) 955
Changes in assets and liabilities:    
Accounts receivable 5,701 2,954
Inventories (14,237) (550)
Prepaid expenses and other assets (2,488) (872)
Deferred cost of revenue 817 1,653
Accounts payable 3,037 10,182
Operating lease liabilities, net of operating lease right-of-use assets 23 (435)
Accrued liabilities (8,123) 2,486
Customer advances (8,203) (314)
Deferred revenues 1,889 (3,071)
Net cash provided by (used in) operating activities (17,968) 24,011
Cash flows from investing activities    
Purchases of property and equipment (2,773) (2,259)
Purchase of intangible asset (33) 0
Net cash used in investing activities (2,806) (2,259)
Cash flows from financing activities    
Proceeds from employee stock plans 1,139 1,524
Proceeds from exercise of options 0 1,224
Taxes paid related to net share settlement of equity awards (116) (258)
Debt issuance costs (248) 0
Paydown under Term Loan Facility (3,000) (2,000)
Repayments under the Notes (2,865) 0
Borrowings (Repayments) under Revolving Credit Facility, net 5,000 (15,000)
Net cash used in financing activities (90) (14,510)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (79) (747)
Net increase (decrease) in cash, cash equivalents and restricted cash (20,943) 6,495
Cash, cash equivalents and restricted cash at beginning of period 90,154 118,201
Cash, cash equivalents and restricted cash at end of period 69,211 124,696
Supplemental disclosures of cash flow information:    
Reclassification of equity component of convertible notes into liabilities upon adoption of ASU 2020-06 $ 0 $ 25,633