XML 66 R7.htm IDEA: XBRL DOCUMENT v3.19.3
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Cash flows from operating activities    
Net loss $ (9,356) $ (9,206)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 1,865 2,129
Share-based compensation 1,700 3,212
Amortization of debt issuance costs 329 380
Accretion of interest on debt 965 811
Provision for bad debt 22 3,737
Provision for write-down of inventories 992 713
Loss on disposal of property and equipment 0 19
Changes in assets and liabilities:    
Accounts receivable 6,785 (1,377)
Inventories (10,479) (10,150)
Prepaid expenses and other assets 2,049 (1,096)
Deferred cost of revenue (2) 459
Accounts payable (5,704) 6,256
Operating lease liabilities, net (82) 0
Accrued liabilities (14,086) (8,564)
Customer advances (1,707) (3,723)
Deferred revenues 2,088 (1,423)
Net cash used in operating activities (24,621) (17,823)
Cash flows from investing activities    
Purchases of property and equipment, net (1,267) (1,602)
Net cash used in investing activities (1,267) (1,602)
Cash flows from financing activities    
Proceeds from employee stock plans 0 837
Taxes paid related to net share settlement of equity awards (207) 0
Proceeds from debt, net of costs 24,716 0
Borrowings (repayments) under Revolving Credit Facility, net 2,941 (3,263)
Net cash provided by (used in) financing activities 27,450 (2,426)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,852) (377)
Net decrease in cash, cash equivalents and restricted cash (290) (22,228)
Cash, cash equivalents and restricted cash at beginning of period 88,178 93,533
Cash, cash equivalents and restricted cash at end of period $ 87,888 $ 71,305