XML 22 R7.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Operating activities      
Net loss $ (47,262) $ (35,321) $ (23,063)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 2,647 3,362 5,239
Accretion of net premium on short-term investments 403 645 1,318
Stock-based compensation expense 10,162 11,366 11,428
Valuation allowance on deferred tax assets 0 0 (778)
Bad debt expense 189 95 33
Write-off of long-term investments 0 977 1,302
(Gain) loss on disposal of property and equipment (14) 398 73
Changes in operating assets and liabilities:      
Accounts receivable (15,807) (5,817) (10,764)
Deferred income taxes (239) 109 1,342
Restricted cash 1,709 (231) 1,117
Income taxes receivable 654 5,393 852
Deferred costs (42,016) (8,935) (2,641)
Prepaid expenses and other current assets 459 (592) 5,133
Other assets 483 972 550
Trade accounts payable 1,195 4,118 328
Accrued expenses and other liabilities 13,778 4,730 (2,258)
Income taxes payable 109 (636) (80)
Deferred rent 66 (272) (1,219)
Deferred revenue 64,032 16,541 4,392
Net cash used in operating activities (9,452) (3,098) (7,696)
Investing activities      
Purchases of property and equipment (1,225) (4,004) (1,208)
Purchases of short-term investments (64,957) (55,021) (113,144)
Proceeds from sales and maturities of short-term investments 74,878 67,578 132,528
Purchases of long-term investments 0 0 (2,500)
Proceeds from sales of long-term investments 246 0 376
Net cash provided by investing activities 8,942 8,553 16,052
Financing activities      
Proceeds from exercise of stock options 2,738 1,549 4,412
Repurchase of common stock 0 (570) (3,780)
Tax withholdings related to net share settlements of restricted stock units (3,008) (3,295) (3,103)
Net cash used in financing activities (270) (2,316) (2,471)
Effect of exchange rate changes on cash and cash equivalents 188 (511) (1,698)
Net increase (decrease) in cash and cash equivalents (592) 2,628 4,187
Cash and cash equivalents, at beginning of period 21,349 18,721 14,534
Cash and cash equivalents, at end of period 20,757 21,349 18,721
Supplemental disclosure of cash flow information      
Income taxes paid (received), net $ 1,872 $ (4,610) $ (10,754)