XML 17 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Cash flows from operating activities:    
Net income $ 9,852 $ 543
Adjustments to reconcile net income to net cash provided by operating activities:    
Stock-based compensation expense 9,425 6,606
Depreciation and amortization expense 8,232 6,673
Deferred income tax expense (benefit) (5,809) 37
Provision for doubtful accounts 30 4
Net accretion of discounts and amortization of premiums on available-for-sale securities (407) (108)
Loss on disposal of equipment 241 31
Changes in operating assets and liabilities:    
Accounts receivable 431 (529)
Deferred contract costs (7,169)  
Prepaid expenses and other (853) (305)
Accounts payable (415) (101)
Accrued expenses (6,214) (6,304)
Tenant improvement allowance   1,656
Net cash provided by operating activities 7,344 8,203
Cash flows from investing activities:    
Purchases of available-for-sale securities (75,804) (58,844)
Proceeds from sales and maturities of available-for-sale securities 56,446 421
Net change in funds held for clients' cash and cash equivalents 55,844 59,001
Capitalized internal-use software costs (5,001) (3,751)
Purchases of property and equipment (2,428) (2,693)
Lease allowances used for tenant improvements   (1,466)
Net cash provided by (used in) investing activities 29,057 (7,332)
Cash flows from financing activities:    
Net change in client fund obligations (57,458) (470)
Repurchases of common shares (34,679)  
Proceeds from exercise of stock options 85  
Taxes paid related to net share settlement of equity awards (17,880) (6,470)
Net cash used in financing activities (109,932) (6,940)
Net Change in Cash and Cash Equivalents (73,531) (6,069)
Cash and Cash Equivalents - Beginning of Period 137,193 103,468
Cash and Cash Equivalents - End of Period 63,662 97,399
Supplemental Disclosure of Non-Cash Investing and Financing Activities    
Purchase of property and equipment and internal-use software, accrued but not paid 1,064 4,317
Repurchases of common shares, accrued but not paid 313  
Supplemental Disclosure of Cash Flow Information    
Cash paid for income taxes, net of refunds $ 351 $ 53