XML 17 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Cash flows from operating activities    
Net income (loss) $ 402 $ (9,356)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation and amortization 1,660 1,865
Share-based compensation 2,244 1,700
Amortization of debt issuance costs 357 329
Accretion of interest on debt 1,241 965
Change in (recovery of) allowance for doubtful accounts (660) 22
Non-cash revenue transactions - Joint Venture (1,365)  
Provision for write-down of inventories 1,520 992
Loss on disposal of property and equipment 2  
Loss on equity method investment 28  
Deferral of equity method investment intra-entity profit on sales (326)  
Changes in assets and liabilities:    
Accounts receivable 17,953 6,785
Inventories (7,671) (10,479)
Prepaid expenses and other assets 3,973 2,049
Deferred cost of revenue (88) (2)
Accounts payable (5,202) (5,704)
Operating lease liabilities, net (157) (82)
Accrued liabilities (7,281) (14,086)
Customer advances (6,134) (1,707)
Deferred revenues (3,366) 2,088
Net cash used in operating activities (2,870) (24,621)
Cash flows from investing activities    
Purchases of property and equipment (569) (1,267)
Net cash used in investing activities (569) (1,267)
Cash flows from financing activities    
Taxes paid related to net share settlement of equity awards   (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 (659) 2,941
Net cash (used in) provided by financing activities (11,159) 27,450
Effect of exchange rate changes on cash, cash equivalents and restricted cash 1,488 (1,852)
Net decrease in cash, cash equivalents and restricted cash (13,110) (290)
Cash, cash equivalents and restricted cash at beginning of period 109,911 88,178
Cash, cash equivalents and restricted cash at end of period $ 96,801 $ 87,888