XML 16 R6.htm IDEA: XBRL DOCUMENT v3.22.0.1
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:    
Net income $ 40,785 $ 22,102
Adjustments to reconcile net income to net cash provided by operating activities    
Stock-based compensation expense 45,802 30,936
Depreciation and amortization expense 23,383 21,071
Deferred income tax benefit (22,952) (12,940)
Provision for credit losses 103 98
Net accretion of discounts and amortization of premiums on available-for-sale securities 221 255
Amortization of debt issuance costs 90 83
Other 247 515
Changes in operating assets and liabilities:    
Accounts receivable (916) (1,287)
Deferred contract costs (26,786) (23,431)
Prepaid expenses and other (10,008) (3,388)
Accounts payable 1,403 1,070
Accrued expenses and other (24,514) (15,412)
Net cash provided by operating activities 26,858 19,672
Cash flows from investing activities:    
Purchases of available-for-sale securities (190,000) 0
Proceeds from sales and maturities of available-for-sale securities 60,391 58,996
Capitalized internal-use software costs (17,966) (14,832)
Purchases of property and equipment (10,528) (6,045)
Acquisition of business, net of cash acquired (60,234) (14,992)
Net cash provided by (used in) investing activities (218,337) 23,127
Cash flows from financing activities:    
Net change in client fund obligations 160,325 876,982
Proceeds from employee stock purchase plan 7,216 6,100
Taxes paid related to net share settlement of equity awards (67,109) (44,749)
Payment of debt issuance costs (41) (17)
Net cash provided by financing activities 100,391 838,316
Net change in cash, cash equivalents and funds held for clients' cash and cash equivalents (91,088) 881,115
Cash, cash equivalents and funds held for clients' cash and cash equivalents—beginning of period 1,945,881 1,492,133
Cash, cash equivalents and funds held for clients' cash and cash equivalents—end of period 1,854,793 2,373,248
Supplemental Disclosure of Non-Cash Investing and Financing Activities    
Purchases of property and equipment, accrued but not paid 125 0
Liabilities assumed for acquisition 1,874 281
Supplemental Disclosure of Cash Flow Information    
Cash paid for interest 126 584
Refunds received for income taxes (115) (110)
Reconciliation of cash, cash equivalents and funds held for clients' cash and cash equivalents to the Consolidated Balance Sheets    
Cash and cash equivalents 84,104 218,696
Funds held for clients' cash and cash equivalents 1,770,689 2,154,552
Total cash, cash equivalents and funds held for clients' cash and cash equivalents $ 1,854,793 $ 2,373,248