XML 23 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities    
Net loss $ (9,206) $ (9,382)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 2,129 2,514
Share-based compensation 3,212 2,432
Amortization of debt issuance costs 380 448
Accretion of interest on debt 811 862
Provision for bad debt 3,737 8
Provision for write-down of inventories 713 354
Loss on disposal of property and equipment 19 11
Loss on extinguishment of debt 0 3,192
Changes in assets and liabilities:    
Accounts receivable (1,377) 1,932
Inventories (10,150) (8,792)
Prepaid expenses and other assets (1,096) 2,506
Deferred cost of revenue 459 991
Accounts payable 6,256 4,791
Accrued liabilities (8,564) (11,653)
Customer advances (3,723) 2,374
Deferred revenues (1,423) (5,615)
Net cash used in operating activities (17,823) (13,027)
Cash flows from investing activities    
Purchases of property and equipment, net (1,602) (929)
Net cash used in investing activities (1,602) (929)
Cash flows from financing activities    
Proceeds from employee stock plans 837 900
Taxes paid related to net share settlement of equity awards 0 (19)
Proceeds from debt, net of costs 0 27,282
Payments made to note and loan holders 0 (29,581)
Borrowings (repayments) under Revolving Credit Facility, net (3,263) 251
Net cash used in financing activities (2,426) (1,167)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (377) 684
Net decrease in cash, cash equivalents and restricted cash (22,228) (14,439)
Cash, cash equivalents and restricted cash at beginning of period 93,533 85,235
Cash, cash equivalents and restricted cash at end of period $ 71,305 $ 70,796