XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.1
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Cash flows from operating activities    
Net income (loss) $ (1,895) $ 4,781
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 4,244 4,892
Share-based compensation 7,911 7,097
Amortization of debt issuance costs 594 1,086
Accretion of interest on debt 0 3,757
Provision for credit losses 241 78
Non-cash revenue transactions related to joint venture contribution 0 (1,365)
Provision for write-down of inventories 2,826 4,553
Loss on disposal of property and equipment 28 62
Income on equity method investment (774) (1,021)
Release (deferral) of equity method investment intra-entity profit on sales 3,559 (185)
Changes in assets and liabilities:    
Accounts receivable (4,611) 22,202
Inventories (15,854) (7,007)
Prepaid expenses and other assets (2,656) 618
Deferred cost of revenue 2,657 1,272
Accounts payable 13,013 (5,028)
Operating lease liabilities, net (666) (473)
Accrued liabilities (3,366) 693
Customer advances (326) 710
Deferred revenues (2,681) (4,405)
Net cash provided by operating activities 2,244 32,317
Cash flows from investing activities    
Purchases of property and equipment (3,321) (1,427)
Additional investments in joint venture 0 (79)
Net cash used in investing activities (3,321) (1,506)
Cash flows from financing activities    
Proceeds from employee stock plans 1,224 1,042
Proceeds from exercise of options 1,524 855
Taxes paid related to net share settlement of equity awards (258) (343)
Paydown under the Company's prior term loan and amendment cost, net 0 (10,500)
Paydown under Term Loan (3,000) 0
Repayments under the Company's prior revolving credit facility, net 0 (447)
Repayments under Revolving Credit Facility, net (15,000) 0
Net cash used in financing activities (15,510) (9,393)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (2,326) 127
Net increase (decrease) in cash, cash equivalents and restricted cash (18,913) 21,545
Cash, cash equivalents and restricted cash at beginning of period 118,201 109,911
Cash, cash equivalents and restricted cash at end of period 99,288 131,456
Supplemental disclosures of cash flow information:    
Write-off of previously reserved accounts receivable 0 3,617
Reclassification of equity component of convertible notes into liabilities upon adoption of ASU 2020-06 $ 25,633 $ 0