XML 44 R28.htm IDEA: XBRL DOCUMENT v3.22.0.1
Financial Instruments (Tables)
12 Months Ended
Dec. 31, 2021
Fair Value Disclosures [Abstract]  
Schedule of Notional Amounts of Outstanding Derivative Positions
December 31,
Notional Amounts20212020
Forward sales commitments$70,550 $130,109 
IRLCs67,485 88,923 
Derivative Instruments, Gain (Loss)
The locations and amounts of gains (losses) recognized in revenue related to our derivatives are as follows:
Year Ended December 31,
InstrumentClassification202120202019
Forward sales commitmentsService revenue$518 $(184)$96 
IRLCsService revenue(641)1,342 176 
Schedule of Assets, Liabilities, and Equity Measured at Fair Value on a Recurring Basis
A summary of assets and liabilities related to our financial instruments, measured at fair value on a recurring basis and as reflected on our consolidated balance sheets, is set forth below:
Balance at December 31, 2021Quoted Prices in Active Markets for Identical Assets
(Level 1)
Significant
Other Observable Inputs
(Level 2)
Significant
Unobservable Inputs
(Level 3)
Assets
Cash equivalents
Money market funds$509,971 $509,971 $— $— 
Total cash equivalents509,971 509,971 — — 
Short-term investments
U.S. treasury securities16,718 16,718 — — 
Agency bonds11,906 11,906 — — 
Equity securities5,113 5,113 — — 
Loans held for sale35,759 — 35,759 — 
Prepaid expenses and other current assets
Forward sales commitments138 — 138 — 
IRLCs1,191 — — 1,191 
Total prepaid expenses and other current assets1,329 — 138 1,191 
Long-term investments
U.S. treasury securities54,828 54,828 — — 
Total assets$635,624 $598,536 $35,897 $1,191 
Liabilities
Accrued and other liabilities
Forward sales commitments$93 $— $93 $— 
IRLCs60 — — 60 
Total liabilities$153 $— $93 $60 

Balance at December 31, 2020Quoted Prices in Active Markets for Identical Assets
(Level 1)
Significant
Other Observable Inputs
(Level 2)
Significant
Unobservable Inputs
(Level 3)
Assets
Cash equivalents
        Money market funds$886,261 $886,261 $— $— 
U.S. treasury securities6,100 6,100 — — 
Total cash equivalents892,361 892,361 — — 
Short-term investments
   U.S. treasury securities131,561 131,561 — — 
Loans held for sale42,539 — 42,539 — 
Prepaid expenses and other current assets
Forward sales commitments34 — 34 — 
IRLCs1,781 — — 1,781 
Total prepaid expenses and other current assets1,815 — 34 1,781 
Long-term investments
Agency bonds11,922 11,922 — — 
Total assets$1,080,198 $1,035,844 $42,573 $1,781 
Liabilities
Accrued and other liabilities
Forward sales commitments$507 $— $507 $— 
IRLCs10 — — 10 
Total liabilities$517 $— $507 $10 
Fair Value Measurement Inputs and Valuation Techniques
The following is a quantitative summary of key unobservable inputs used in the valuation of IRLCs:
Key InputsValuation TechniqueDecember 31, 2021December 31, 2020
Weighted-average pull-through rate
Market pricing
71.1%72.3%
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation
The following is a summary of changes in the fair value of IRLCs for the period ended December 31, 2021:
Balance, net—January 1, 2021$1,771 
Issuances of IRLCs18,415 
Settlements of IRLCs(18,827)
Net loss recognized in earnings(228)
Balance, net—December 31, 2021$1,131 
Changes in fair value recognized during the period relating to assets still held at December 31, 2021$(641)
Schedule of Long-term Debt Instruments
The following table presents the carrying amounts and estimated fair values of our convertible senior notes that are not recorded at fair value on our consolidated balance sheets:

December 31, 2021December 31, 2020
IssuanceNet Carrying Amount Estimated Fair ValueNet Carrying AmountEstimated Fair Value
2023 notes$23,280 $34,487 $22,482 $59,894 
2025 notes650,783 593,366 488,268 802,083 
2027 notes563,234 467,814 —  
The following table summarizes borrowings under these facilities as of the periods presented:
December 31, 2021December 31, 2020
LenderBorrowing CapacityOutstanding BorrowingsWeighted-Average Interest Rate on Outstanding BorrowingsBorrowing CapacityOutstanding BorrowingsWeighted-Average Interest Rate on Outstanding Borrowings
Western Alliance Bank$50,000 $17,089 3.00 %$50,000 $18,277 3.25 %
Texas Capital Bank, N.A.40,000 11,852 3.01 %40,000 12,903 3.35 %
Flagstar Bank, FSB
25,000 4,102 3.00 %15,000 7,849 3.00 %
Total$115,000 $33,043 — $105,000 $39,029 — 
The following table summarizes borrowings under this facility as of the period presented:
December 31, 2021December 31, 2020
LenderBorrowing CapacityOutstanding BorrowingsWeighted-Average Interest Rate on Outstanding BorrowingsBorrowing CapacityOutstanding BorrowingsWeighted-Average Interest Rate on Outstanding Borrowings
Goldman Sachs Bank USA$200,000 $199,781 3.30 %$100,000 $23,949 4.40 %
Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure
The cost or amortized cost, gross unrealized gains and losses, and estimated fair market value of our cash, money market funds, restricted cash, available-for-sale investments, and equity securities were as follows:
December 31, 2021
Fair Value HierarchyCost or Amortized CostUnrealized GainsUnrealized LossesEstimated Fair ValueCash, Cash Equivalents, Restricted CashShort-term InvestmentsLong-term Investments
CashN/A$81,032 $— $— $81,032 $81,032 $— $— 
Money markets fundsLevel 1509,971 — — 509,971 509,971 — — 
Restricted cashN/A127,278 — — 127,278 127,278 — — 
U.S. treasury securitiesLevel 171,749 (204)71,546 — 16,718 54,828 
Agency bondsLevel 111,900 — 11,906 — 11,906 — 
Equity securitiesLevel 1500 4,613 — 5,113 — 5,113 — 
Total$802,430 $4,620 $(204)$806,846 $718,281 $33,737 $54,828 

December 31, 2020
Fair Value HierarchyCost or Amortized CostUnrealized GainsUnrealized LossesEstimated Fair ValueCash, Cash Equivalents, Restricted CashShort-term InvestmentsLong-term Investments
CashN/A$32,915 $— $— $32,915 $32,915 $— $— 
Money markets fundsLevel 1886,261 — — 886,261 886,261 — — 
Restricted cashN/A20,544 — — 20,544 20,544 — — 
U.S. treasury securitiesLevel 1137,502 159 — 137,661 6,100 131,561 — 
Agency bondsLevel 111,900 22 — 11,922 — — 11,922 
Total$1,089,122 $181 $— $1,089,303 $945,820 $131,561 $11,922