XML 21 R7.htm IDEA: XBRL DOCUMENT v3.20.4
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities    
Net income $ 5,171 $ 1,354
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 3,317 3,712
Share-based compensation 4,608 3,849
Amortization of debt issuance costs 717 661
Accretion of interest on debt 2,491 2,018
Change in (recovery of) allowance for doubtful accounts (512) 853
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 3,504 2,208
Loss on disposal of property and equipment 2  
Income on equity method investment (1,089)  
Release of equity method investment intra-entity profit on sales (557)  
Changes in assets and liabilities:    
Accounts receivable 26,683 23,589
Inventories (6,809) (17,210)
Prepaid expenses and other assets 684 2,986
Deferred cost of revenue 137 132
Accounts payable (12,076) (7,718)
Operating lease liabilities, net (306) (331)
Accrued liabilities 2,102 (11,084)
Customer advances (3,637) (2,085)
Deferred revenues (6,651) 1,863
Net cash provided by (used in) operating activities 16,414 (8,167)
Cash flows from investing activities    
Purchases of property and equipment (1,167) (2,533)
Additional investments in joint venture (79)  
Net cash used in investing activities (1,246) (2,533)
Cash flows from financing activities    
Proceeds from employee stock plans 1,042 1,358
Proceeds from exercise of options 66  
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 (1,288) (2,983)
Net cash (used in) provided by financing activities (11,023) 22,884
Effect of exchange rate changes on cash, cash equivalents and restricted cash 3,298 28
Net increase in cash, cash equivalents and restricted cash 7,443 12,212
Cash, cash equivalents and restricted cash at beginning of period 109,911 88,178
Cash, cash equivalents and restricted cash at end of period 117,354 100,390
Supplemental disclosures of cash flow information:    
Write-off of previously reserved accounts receivable $ 3,582  
An equity method investment, in exchange for non-cash contributions of assets to the China joint venture (including gain of $12,964)   $ 15,925