XML 24 R8.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities      
Net loss $ (985,345) $ (707,417) $ (441,027)
Adjustments to reconcile net loss to net cash used in operating activities:      
Provision for credit losses 331,860 255,272 65,878
Amortization of premiums and discounts on loans, net (141,075) (171,965) (90,371)
Gain on sales of loans (188,341) (196,435) (89,926)
Extinguishment of convertible debt (89,841) 0 0
Changes in fair value of assets and liabilities (15,883) (101,789) 57,285
Amortization of commercial agreement assets 85,524 96,737 69,103
Amortization of debt issuance costs 20,535 16,152 6,416
Amortization of discount on securities available for sale (36,060) 2,192 0
Commercial agreement warrant expense 421,934 254,679 0
Stock-based compensation 451,709 390,983 292,507
Depreciation and amortization 134,634 52,722 19,979
Impairment of right of use assets 1,244 362 11,544
Other (8,825) (73,154) 5,129
Change in operating assets and liabilities:      
Purchases of loans held for sale (6,009,361) (5,552,662) (2,640,734)
Proceeds from the sale of loans held for sale 6,174,447 5,582,035 2,594,835
Accounts receivable, net (67,690) (62,700) (22,934)
Other assets (14,466) (15,021) (209,139)
Accounts payable (5,038) (24,686) 32,223
Payable to third-party loan owners (17,531) 21,304 25,082
Accrued interest payable 7,915 3,907 1,395
Accrued expenses and other liabilities (38,165) 67,290 119,625
Net cash provided by (used in) operating activities 12,181 (162,194) (193,130)
Cash flows from investing activities      
Purchases and origination of loans held for investment (13,586,251) (10,362,048) (5,897,252)
Proceeds from the sale of loans held for investment 1,582,501 1,898,607 824,011
Principal repayments and other loan servicing activity 10,028,452 8,121,583 4,324,618
Acquisition, net of cash and restricted cash acquired (16,051) (5,999) (222,433)
Purchases of intangible assets 0 (25,415) 0
Additions to property, equipment and software (120,775) (86,290) (20,252)
Purchases of securities available for sale (1,082,147) (1,841,380) 0
Proceeds from maturities and repayments of securities available for sale 1,537,495 311,035 0
Other investing cash inflows/(outflows) 3,706 (21,431) (30,725)
Net cash used in investing activities (1,653,070) (2,011,338) (1,022,033)
Cash flows from financing activities      
Proceeds from funding debt 6,894,971 4,101,134 2,942,254
Proceeds from issuance of convertible debt, net 0 1,704,300 0
Proceeds from issuance of notes and residual trust certificates by securitization trusts 1,150,000 999,394 1,395,879
Proceeds from initial public offering, net 0 0 1,305,176
Principal repayments of funding debt (5,801,531) (4,090,562) (3,165,103)
Principal repayments of notes issued by securitization trusts (606,299) (552,046) (210,368)
Payment of debt issuance costs (22,443) (13,751) (12,499)
Extinguishment of convertible debt (206,567) 0 0
Proceeds from exercise of common stock options and warrants and contributions to ESPP 15,768 73,914 47,042
Payments of tax withholding for stock-based compensation (73,845) (185,178) (158,280)
Repurchases of common stock (109) (86) (800)
Proceeds from issuance of redeemable convertible preferred stock, net 0 0 434,542
Repurchases and conversion of redeemable convertible preferred stock 0 0 (13)
Net cash provided by financing activities 1,349,945 2,037,119 2,577,830
Effect of exchange rate changes on cash, cash equivalents and restricted cash 81 (5,412) 1,837
Net increase (decrease) in cash, cash equivalents and restricted cash (290,863) (141,825) 1,364,504
Cash, cash equivalents and restricted cash, beginning of period 1,550,807 1,692,632 328,128
Cash, cash equivalents and restricted cash, end of period 1,259,944 1,550,807 1,692,632
Reconciliation to amounts on consolidated balance sheets (as of period end)      
Cash and cash equivalents 892,027 1,255,171 1,466,558
Restricted cash 367,917 295,636 226,074
Total cash, cash equivalents and restricted cash 1,259,944 1,550,807 1,692,632
Supplemental disclosures of cash flow information      
Cash payments for interest expense 163,191 51,524 41,690
Cash paid for operating leases 16,354 15,561 13,215
Cash paid for income taxes 808 220 219
Supplemental disclosures of non-cash investing and financing activities      
Stock-based compensation included in capitalized internal-use software 80,108 54,542 13,999
Issuance of common stock in connection with settlement of contingent consideration liability 13,674 32,109 0
Securities retained under unconsolidated securitization transactions 0 54,997 0
Issuance of common stock in connection with acquisition 0 10,000 331,498
Right of use assets obtained in exchange for operating lease liabilities 494 4,604 78,421
Additions to property and equipment included in accrued expenses 0 107 6
Issuance of common stock, employee share purchase plan 0 0 1,327,271
Issuance of warrants in exchange for commercial agreement 0 0 270,579
Conversion of convertible debt 0 0 88,559
Acquisition of commercial agreement asset $ 0 $ 0 $ 25,900