XML 17 R6.htm IDEA: XBRL DOCUMENT v3.22.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Cash flows from operating activities:    
Net loss $ (241,419) $ (56,858)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 8,220 3,449
Stock-based compensation 140,381 31,263
Amortization of debt discount (accretion of debt premium) and issuance costs 3,362 15,724
Amortization of finite-lived intangible assets 56,209  
Amortization of premium (accretion of discount) on investments in marketable debt securities 10,039 1,970
Non-cash operating lease expense 6,307 2,635
Provision for losses on acquired card receivables 15,621  
Deferred income taxes (4,691) (333)
Changes in assets and liabilities:    
Accounts receivable (5,846) (5,332)
Prepaid expenses and other current assets (2,966) (6,149)
Other assets (968) (11,799)
Accounts payable (4,435) 927
Other accruals and current liabilities 12,665 58
Operating lease liabilities (5,591) 7,782
Other long-term liabilities 302 576
Deferred revenue 5,191 2,924
Net cash used in operating activities (7,619) (13,163)
Cash flows from investing activities:    
Cash paid for acquisition, net of acquired cash and cash equivalents (144,541)  
Purchases of corporate and customer fund short-term investments (2,176,127) (1,486,025)
Proceeds from maturities of corporate and customer fund short-term investments 1,308,650 830,933
Proceeds from sale of corporate and customer fund short-term investments 50,744 119,072
Increase in other receivables included in funds held for customers (13,547) (9,072)
Increase in acquired card receivables (89,909)  
Purchases of property and equipment (3,758) (17,062)
Capitalization of internal-use software costs (7,409) (1,038)
Net cash used in investing activities (1,075,897) (563,192)
Cash flows from financing activities:    
Proceeds from issuance of common stock upon public offering, net of underwriting discounts and other offering costs 1,341,122  
Proceeds from issuance of convertible senior notes, net of discounts and issuance costs 560,075 1,129,379
Purchase of capped call (37,893) (87,860)
Increase in customer fund deposits liability 834,942 285,590
Payments of line of credit borrowings   (2,300)
Proceeds from exercise of stock options 29,116 23,034
Proceeds from issuance of common stock under the employee stock purchase plan 12,849 8,864
Other (351) (664)
Net cash provided by financing activities 2,739,860 1,356,043
Effect of exchange rate changes on cash, cash equivalents, restricted cash and restricted cash equivalents  
Net increase in cash, cash equivalents, restricted cash, and restricted cash equivalents 1,656,344 779,688
Cash, cash equivalents, restricted cash, and restricted cash equivalents, beginning of period 1,809,692 1,592,377
Cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period 3,466,036 2,372,065
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 1,639,371 1,223,724
Restricted cash included in other current assets $ 28,343 $ 35
Restricted Cash, Current, Asset, Statement of Financial Position [Extensible List] us-gaap:OtherAssetsCurrent us-gaap:OtherAssetsCurrent
Restricted cash included in other assets $ 6,724  
Restricted Cash, Noncurrent, Statement of Financial Position [Extensible Enumeration] Other Assets, Noncurrent Other Assets, Noncurrent
Restricted cash and restricted cash equivalents included in funds held for customers $ 1,791,598 $ 1,148,306
Total cash, cash equivalents, restricted cash, and restricted cash equivalents, end of period $ 3,466,036 $ 2,372,065