XML 21 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities    
Net income (loss) $ (53,402) $ 76,499
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Change in fair value of financial instruments 71,056 (5,839)
Stock-based compensation 92,035 50,125
Gain on loan servicing arrangement, net (23,770) (4,223)
Depreciation and amortization 9,859 4,984
Non-cash interest expense 2,294 990
Net changes in operating assets and liabilities:    
Purchase of loans for immediate resale (5,519,116) (5,872,988)
Proceeds from immediate resale of loans 5,519,116 5,872,988
Purchase of loans held-for-sale (1,459,528) (80,305)
Principal payments received for loans held-for-sale 104,049 4,398
Proceeds from sale of loans held-for-sale 854,991 90,537
Other assets 8,719 (22,806)
Operating lease liability and right-of-use asset 7,695 1,028
Accounts payable 3,446 (4,556)
Payable to investors (13,754) 38,811
Accrued expenses and other liabilities (25,494) 29,854
Net cash provided by (used in) operating activities (421,804) 179,497
Cash flows from investing activities    
Proceeds from sale of loans held-for-investment 11,993 10,793
Principal payments received for loans held-for-investment 27,711 14,722
Principal payments received for notes receivable and repayments of residual certificates 5,508 9,115
Purchase of loans held-for-investment (55,294) (92,738)
Purchase of non-marketable equity security (1,000) (40,000)
Purchase of property and equipment (7,088) (4,956)
Capitalized software costs (10,842) (4,476)
Acquisition, net of cash acquired 0 (16,561)
Net cash used in investing activities (29,012) (124,101)
Cash flows from financing activities    
Repurchases of common stock (150,070) 0
Proceeds from secondary offering, net of underwriting discounts, commissions, and offering costs 0 263,931
Proceeds from borrowings 430,270 667,081
Payment of debt issuance costs 0 (15,727)
Purchase of capped calls 0 (58,523)
Taxes paid related to net share settlement of equity awards (8) (236)
Repayments of borrowings (209,079) (65,412)
Proceeds from issuance of common stock under employee stock purchase plan 7,662 4,145
Proceeds from exercise of stock options 10,726 9,773
Net cash provided by financing activities 89,501 805,032
Change in cash and restricted cash (361,315) 860,428
Cash and restricted cash at beginning of period 1,191,241 311,333
Cash and restricted cash at end of period 829,926 1,171,761
Supplemental disclosures of cash flow information    
Cash paid for interest 7,952 2,796
Cash paid for income taxes 206 2,247
Cash paid for amounts included in the measurement of lease liabilities 7,967 3,279
Supplemental disclosures of non-cash investing and financing activities    
Issuance of common stock in connection with acquisition 0 80,256
Capitalized stock-based compensation expense 4,547 2,120
Cash and Restricted Cash    
Cash 683,970  
Restricted cash 145,956  
Total cash and restricted cash $ 829,926 $ 1,171,761