XML 18 R5.htm IDEA: XBRL DOCUMENT v3.6.0.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Cash flows from operating activities    
Net loss $ (19,295) $ (19,053)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 9,280 9,061
Share-based compensation 6,387 5,879
Amortization of debt issuance costs 782 771
Amortization and accretion of discount and premium on investments 63 536
Accretion of interest on debt 1,456 3,870
(Recovery of) provision for bad debt, net (63) 128
Provision for write-down of inventories 665 729
Loss on disposal of property and equipment   8
Changes in assets and liabilities:    
Restricted cash 421 950
Accounts receivable (15,848) 10,959
Inventories (2,559) (5,669)
Prepaid expenses and other assets 1,425 (3,546)
Deferred cost of revenue 1,471 (2,678)
Accounts payable 10,070 6,715
Accrued liabilities (3,446) 5,414
Customer advances 3,119 294
Deferred revenues (5,317) 5,912
Net cash (used in) provided by operating activities (11,389) 20,280
Cash flows from investing activities    
Purchases of property and equipment, net (3,136) (4,125)
Purchases of investments (14,992) (33,130)
Sales and maturities of investments 23,190 29,505
Net cash provided by (used in) investing activities 5,062 (7,750)
Cash flows from financing activities    
Proceeds from employee stock plans 2,050 2,055
Taxes paid related to net share settlement of equity awards (737) (2,841)
Payments made to note and loan holders (42,483)  
Net cash used in financing activities (41,170) (786)
Effect of exchange rate changes on cash and cash equivalents (2,802) (2,844)
Net increase (decrease) in cash and cash equivalents (50,299) 8,900
Cash and cash equivalents at beginning of period 119,771 79,551
Cash and cash equivalents at end of period $ 69,472 $ 88,451