XML 18 R7.htm IDEA: XBRL DOCUMENT v3.21.1
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Cash flows from operating activities    
Net income $ 4,781 $ 3,979
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 4,892 5,581
Share-based compensation 7,097 5,865
Amortization of debt issuance costs 1,086 1,005
Accretion of interest on debt 3,757 3,090
Bad debt expense 78 1,169
Non-cash revenue transactions related to joint venture contribution (1,365)  
Gain on contribution to joint venture   (12,964)
Provision for write-down of inventories 4,553 2,877
Loss on disposal of property and equipment 62 9
Income on equity method investment (1,021) (222)
Release (deferral) of equity method investment intra-entity profit on sales (185) 1,129
Changes in assets and liabilities:    
Accounts receivable 22,202 7,519
Inventories (7,007) (23,844)
Prepaid expenses and other assets 618 2,682
Deferred cost of revenue 1,272 81
Accounts payable (5,028) (3,366)
Operating lease liabilities, net (473) (461)
Accrued liabilities 693 (16,716)
Customer advances 710 (2,299)
Deferred revenues (4,405) 4,598
Net cash provided by (used in) operating activities 32,317 (20,288)
Cash flows from investing activities    
Purchases of property and equipment (1,427) (2,764)
Purchase of intangible asset   (170)
Additional investments in joint venture (79)  
Net cash used in investing activities (1,506) (2,934)
Cash flows from financing activities    
Proceeds from employee stock plans 1,042 1,359
Proceeds from exercise of options 855  
Taxes paid related to net share settlement of equity awards (343) (207)
Proceeds from debt, net of costs   24,716
Paydown on term loan (10,000)  
Loan amendment cost (500)  
Borrowings (repayments) under Revolving Credit Facility, net (447) 2,458
Net cash (used in) provided by financing activities (9,393) 28,326
Effect of exchange rate changes on cash, cash equivalents and restricted cash 127 (675)
Net increase in cash, cash equivalents and restricted cash 21,545 4,429
Cash, cash equivalents and restricted cash at beginning of period 109,911 88,178
Cash, cash equivalents and restricted cash at end of period 131,456 92,607
Supplemental disclosures of cash flow information:    
Write-off of previously reserved accounts receivable $ 3,617  
An equity method investment, in exchange for non-cash contributions of assets to the China joint venture (including gain of $12,964)   $ 15,925