Quarterly report pursuant to Section 13 or 15(d)

Financial Instruments - Schedule of Assets, Liabilities, and Equity Measured at Fair Value on a Recurring Basis (Details)

v3.22.2
Financial Instruments - Schedule of Assets, Liabilities, and Equity Measured at Fair Value on a Recurring Basis (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Assets    
Short-term investments $ 82,506 $ 33,737
Mortgage servicing rights, at fair value 35,050 0
Fair Value, Measurements, Recurring    
Assets    
Cash equivalents 310,069 509,971
Short-term investments 82,506 33,737
Loans held for sale 306,364 35,759
Other current assets 14,283 1,329
Mortgage servicing rights, at fair value 35,050  
Long-term investments 52,989 54,828
Total assets 801,261 635,624
Liabilities    
Total liabilities 3,485 153
Fair Value, Measurements, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Assets    
Cash equivalents 310,069 509,971
Short-term investments 82,506  
Loans held for sale 0 0
Other current assets 0 0
Mortgage servicing rights, at fair value 0  
Total assets 445,564 598,536
Liabilities    
Total liabilities 0 0
Fair Value, Measurements, Recurring | Significant Other Observable Inputs (Level 2)    
Assets    
Cash equivalents 0 0
Short-term investments 0  
Loans held for sale 306,364 35,759
Other current assets 3,462 138
Mortgage servicing rights, at fair value 0  
Total assets 309,826 35,897
Liabilities    
Total liabilities 2,175 93
Fair Value, Measurements, Recurring | Significant Unobservable Inputs (Level 3)    
Assets    
Cash equivalents 0 0
Short-term investments 0  
Loans held for sale 0 0
Other current assets 10,821 1,191
Mortgage servicing rights, at fair value 35,050  
Total assets 45,871 1,191
Liabilities    
Total liabilities 1,310 60
Fair Value, Measurements, Recurring | Money market funds    
Assets    
Cash equivalents 302,480 509,971
Fair Value, Measurements, Recurring | Money market funds | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Assets    
Cash equivalents 302,480 509,971
Fair Value, Measurements, Recurring | Money market funds | Significant Other Observable Inputs (Level 2)    
Assets    
Cash equivalents 0 0
Fair Value, Measurements, Recurring | Money market funds | Significant Unobservable Inputs (Level 3)    
Assets    
Cash equivalents 0 0
Fair Value, Measurements, Recurring | Agency bonds    
Assets    
Cash equivalents 7,589  
Fair Value, Measurements, Recurring | Agency bonds | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Assets    
Cash equivalents 7,589  
Fair Value, Measurements, Recurring | Agency bonds | Significant Other Observable Inputs (Level 2)    
Assets    
Cash equivalents 0  
Fair Value, Measurements, Recurring | Agency bonds | Significant Unobservable Inputs (Level 3)    
Assets    
Cash equivalents 0  
U.S. treasury securities | Fair Value, Measurements, Recurring    
Assets    
Short-term investments 71,014 16,718
Long-term investments 52,989 54,828
U.S. treasury securities | Fair Value, Measurements, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Assets    
Short-term investments 71,014 16,718
Long-term investments 52,989 54,828
U.S. treasury securities | Fair Value, Measurements, Recurring | Significant Other Observable Inputs (Level 2)    
Assets    
Short-term investments 0 0
Long-term investments 0 0
U.S. treasury securities | Fair Value, Measurements, Recurring | Significant Unobservable Inputs (Level 3)    
Assets    
Short-term investments 0 0
Long-term investments 0 0
Agency bonds | Fair Value, Measurements, Recurring    
Assets    
Short-term investments 11,492 11,906
Long-term investments 0 0
Agency bonds | Fair Value, Measurements, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Assets    
Short-term investments 11,492 11,906
Agency bonds | Fair Value, Measurements, Recurring | Significant Other Observable Inputs (Level 2)    
Assets    
Short-term investments 0 0
Agency bonds | Fair Value, Measurements, Recurring | Significant Unobservable Inputs (Level 3)    
Assets    
Short-term investments 0 0
Forward sales commitments | Fair Value, Measurements, Recurring    
Assets    
Other current assets 3,462 138
Liabilities    
Accrued liabilities 2,175 93
Forward sales commitments | Fair Value, Measurements, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Assets    
Other current assets 0 0
Liabilities    
Accrued liabilities 0 0
Forward sales commitments | Fair Value, Measurements, Recurring | Significant Other Observable Inputs (Level 2)    
Assets    
Other current assets 3,462 138
Liabilities    
Accrued liabilities 2,175 93
Forward sales commitments | Fair Value, Measurements, Recurring | Significant Unobservable Inputs (Level 3)    
Assets    
Other current assets 0 0
Liabilities    
Accrued liabilities 0 0
IRLCs | Fair Value, Measurements, Recurring    
Assets    
Other current assets 10,821 1,191
Liabilities    
Accrued liabilities 1,310 60
IRLCs | Fair Value, Measurements, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Assets    
Other current assets 0 0
Liabilities    
Accrued liabilities 0 0
IRLCs | Fair Value, Measurements, Recurring | Significant Other Observable Inputs (Level 2)    
Assets    
Other current assets 0 0
Liabilities    
Accrued liabilities 0 0
IRLCs | Fair Value, Measurements, Recurring | Significant Unobservable Inputs (Level 3)    
Assets    
Other current assets 10,821 1,191
Liabilities    
Accrued liabilities $ 1,310 60
Equity securities    
Assets    
Short-term investments   5,113
Equity securities | Fair Value, Measurements, Recurring    
Assets    
Short-term investments   5,113
Long-term investments   0
Equity securities | Fair Value, Measurements, Recurring | Quoted Prices in Active Markets for Identical Assets (Level 1)    
Assets    
Short-term investments   5,113
Equity securities | Fair Value, Measurements, Recurring | Significant Other Observable Inputs (Level 2)    
Assets    
Short-term investments   0
Equity securities | Fair Value, Measurements, Recurring | Significant Unobservable Inputs (Level 3)    
Assets    
Short-term investments   $ 0