XML 16 R6.htm IDEA: XBRL DOCUMENT v3.23.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities    
Net income (loss) $ (157,419) $ 2,821
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Change in fair value of financial instruments 98,638 49,103
Stock-based compensation 106,705 55,379
Gain on loan servicing arrangement, net (6,960) (17,732)
Depreciation and amortization 10,866 6,135
Non-cash interest expense 1,533 1,537
Other (1,917) 0
Net changes in operating assets and liabilities:    
Purchase of loans held-for-sale (1,250,346) (5,922,801)
Proceeds from sale of loans held-for-sale 1,266,604 5,431,635
Principal payments received for loans held-for-sale 101,829 66,790
Other assets (3,826) 13,196
Operating lease liability and right-of-use asset 1,438 5,265
Accounts payable (11,786) 15,079
Payable to investors (50,836) (1,886)
Accrued expenses and other liabilities (17,871) (24,959)
Net cash provided by (used in) operating activities 86,652 (320,438)
Cash flows from investing activities    
Purchase of loans held-for-investment (83,868) (13,876)
Proceeds from sale of loans held-for-investment 0 83
Principal payments received for loans held-for-investment 50,427 18,524
Principal payments received for notes receivable and repayments of residual certificates 2,996 3,912
Acquisition of beneficial interests (26,427) 0
Purchase of non-marketable equity securities 0 (1,000)
Purchase of property and equipment (1,150) (5,578)
Capitalized software costs (6,324) (6,829)
Net cash used in investing activities (64,346) (4,764)
Cash flows from financing activities    
Proceeds from borrowings 340,370 261,199
Repayments of borrowings (397,644) (101,613)
Proceeds from issuance of common stock under employee stock purchase plan 5,728 4,431
Proceeds from exercise of stock options 6,672 9,407
Taxes paid related to net share settlement of equity awards (6) 0
Repurchases of common stock 0 (125,042)
Net cash provided by (used in) financing activities (44,880) 48,382
Change in cash and restricted cash (22,574) (276,820)
Cash and restricted cash at beginning of period 532,467 1,191,241
Cash and restricted cash at end of period 509,893 914,421
Supplemental disclosures of cash flow information    
Cash paid for interest 12,240 4,076
Cash (received) paid for income taxes, net (989) 52
Supplemental disclosures of non-cash investing and financing activities    
Beneficial interests included in payable to investors 4,108 0
Capitalized stock-based compensation expense 4,030 2,997
Cash and Restricted Cash    
Cash 443,672  
Restricted cash 66,221  
Total cash and restricted cash $ 509,893 $ 914,421