| | | | | | | | | | | | | | | | |
| | Three months ended June 30, | | | Year ended June 30, | |
| | 2020 | | | 2019 (1) | | | 2020 | | | 2019 (1) | |
Cash flows from operating activities: | | | | | | | | | | | | | | | | |
Net loss | | $ | (9,498 | ) | | $ | (4,498 | ) | | $ | (31,091 | ) | | $ | (7,314 | ) |
Adjustments to reconcile net loss to net cash used in operating activities: | | | | | | | | | | | | | | | | |
Depreciation and amortization | | | 1,052 | | | | 735 | | | | 4,257 | | | | 3,154 | |
Stock-based compensation | | | 7,628 | | | | 1,505 | | | | 18,064 | | | | 4,082 | |
Accretion of discount on investment in marketable debt securities | | | (960 | ) | | | (434 | ) | | | (3,815 | ) | | | (1,319 | ) |
Revaluation of warrant liabilities and forfeiture of warrants | | | — | | | | 164 | | | | 717 | | | | 25 | |
Issuance of warrants | | | — | | | | 135 | | | | — | | | | 274 | |
Deferred income taxes | | | — | | | | (63 | ) | | | — | | | | (176 | ) |
Changes in assets and liabilities: | | | | | | | | | | | | | | | | |
Accounts receivable | | | (2,012 | ) | | | (394 | ) | | | (1,054 | ) | | | (2,098 | ) |
Unbilled revenue | | | 802 | | | | (363 | ) | | | (554 | ) | | | (1,748 | ) |
Prepaid expenses and other current assets | | | 409 | | | | (1,349 | ) | | | (10,434 | ) | | | (5,690 | ) |
Other assets | | | (3,881 | ) | | | (191 | ) | | | (4,928 | ) | | | (995 | ) |
Accounts payable | | | (121 | ) | | | 31 | | | | (1,596 | ) | | | 3,171 | |
Accrued and other current liabilities | | | 2,862 | | | | 2,554 | | | | 9,755 | | | | 4,336 | |
Other long-term liabilities | | | 2,302 | | | | 514 | | | | 12,991 | | | | 302 | |
Deferred revenue | | | 314 | | | | (217 | ) | | | 3,258 | | | | 47 | |
| | | | | | | | | | | | | | | | |
Net cash used in operating activities | | | (1,103 | ) | | | (1,871 | ) | | | (4,430 | ) | | | (3,949 | ) |
| | | | | | | | | | | | | | | | |
Cash flows from investing activities: | | | | | | | | | | | | | | | | |
Purchases of corporate and customer fund short-term investments | | | (257,917 | ) | | | (197,217 | ) | | | (1,088,611 | ) | | | (830,622 | ) |
Proceeds from maturities of corporate and customer fund short-term investments | | | 209,689 | | | | 143,489 | | | | 806,000 | | | | 694,303 | |
Proceeds from sale of corporate and customer fund short-term investments | | | 20,822 | | | | — | | | | 46,159 | | | | 54,715 | |
Decrease (increase) in other receivables included in funds held for customers | | | 5,642 | | | | (2,337 | ) | | | (959 | ) | | | (10,203 | ) |
Purchases of property and equipment | | | (5,701 | ) | | | (484 | ) | | | (11,437 | ) | | | (2,743 | ) |
Capitalization of internal-use software costs | | | (150 | ) | | | (241 | ) | | | (639 | ) | | | (1,556 | ) |
| | | | | | | | | | | | | | | | |
Net cash used in investing activities | | | (27,615 | ) | | | (56,790 | ) | | | (249,487 | ) | | | (96,106 | ) |
| | | | | | | | | | | | | | | | |
Cash flows from financing activities: | | | | | | | | | | | | | | | | |
Proceeds from issuance of common stock upon initial public offering, net of underwriting discounts and commissions and other offering costs (payment of other offering costs) | | | (63 | ) | | | — | | | | 225,481 | | | | — | |
Proceeds from issuance of common stock upon secondary public offering, net of underwriting discounts and commissions and other offering costs | | | 308,176 | | | | — | | | | 308,176 | | | | — | |
Proceeds from issuance of redeemable convertible preferred stock, net of issuance costs (payment of issuance costs) | | | — | | | | (2,715 | ) | | | — | | | | 85,160 | |
Increase in customer fund deposits liability | | | 290,698 | | | | 149,396 | | | | 314,944 | | | | 414,293 | |
Proceeds from line of credit borrowings | | | — | | | | — | | | | 2,300 | | | | — | |
Payments on bank borrowings | | | — | | | | (8,667 | ) | | | — | | | | (9,500 | ) |
Proceeds from exercise of stock options | | | 10,486 | | | | 386 | | | | 12,232 | | | | 1,702 | |
Proceeds from exercise of stock warrants | | | — | | | | — | | | | 144 | | | | — | |
Payments of deferred debt issuance costs | | | — | | | | — | | | | (151 | ) | | | — | |
| | | | | | | | | | | | | | | | |
Net cash provided by financing activities | | | 609,297 | | | | 138,400 | | | | 863,126 | | | | 491,655 | |
| | | | | | | | | | | | | | | | |
Net increase in cash, cash equivalents, restricted cash, and restricted cash equivalents | | | 580,579 | | | | 79,739 | | | | 609,209 | | | | 391,600 | |
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of period | | | 1,011,798 | | | | 903,429 | | | | 983,168 | | | | 591,568 | |
| | | | | | | | | | | | | | | | |
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period | | $ | 1,592,377 | | | $ | 983,168 | | | $ | 1,592,377 | | | $ | 983,168 | |
| | | | | | | | | | | | | | | | |
Reconciliation of cash, cash equivalents, restricted cash, and restricted cash equivalents within the consolidated balance sheets to the amounts shown in the consolidated statements of cash flows above: | | | | | | | | | | | | | | | | |
Cash and cash equivalents | | $ | 573,643 | | | $ | 90,306 | | | $ | 573,643 | | | $ | 90,306 | |
Restricted cash included in other current assets | | | 35 | | | | 256 | | | | 35 | | | | 256 | |
Restricted cash included in other assets | | | — | | | | 550 | | | | — | | | | 550 | |
Restricted cash and restricted cash equivalents included in funds held for customers | | | 1,018,699 | | | | 892,056 | | | | 1,018,699 | | | | 892,056 | |
| | | | | | | | | | | | | | | | |
Total cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period | | $ | 1,592,377 | | | $ | 983,168 | | | $ | 1,592,377 | | | $ | 983,168 | |
| | | | | | | | | | | | | | | | |