XML 60 R35.htm IDEA: XBRL DOCUMENT v3.22.0.1
FAIR VALUE OF FINANCIAL INSTRUMENTS (Tables)
12 Months Ended
Dec. 31, 2021
Fair Value Disclosures [Abstract]  
Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis The Company’s financial assets and liabilities that are measured at fair value on a recurring basis are classified as follows (in thousands):
December 31, 2021December 31, 2020
Level 1Level 2Level 3Level 1Level 2Level 3
Cash Equivalents:
Money market funds$2,344,768 $— $— $1,694,736 $— $— 
U.S. agency securities— 22,999 — — 41,186 — 
Certificates of deposit— 4,983 — — — — 
Corporate bonds— 790 — — — — 
U.S. government securities— — — 15,000 — — 
Customer funds:
Money market funds2,126,579 — — 777,193 — — 
Reverse repurchase agreement72,119 — — 246,880 — — 
U.S. agency securities— 29,994 — — 160,478 — 
U.S. government securities360,060 — — 445,142 — — 
Short-term debt securities:
U.S. agency securities— 74,128 — — 154,004 — 
Certificates of deposit— 9,200 — — — — 
Corporate bonds— 293,319 — — 77,199 — 
Commercial paper— 36,088 — — 4,999 — 
Municipal securities— 5,548 — — 10,431 — 
U.S. government securities430,843 — 405,434 — — 
Foreign government securities— 20,157 — — 43,045 — 
Long-term debt securities:
U.S. agency securities— 153,320 — — 169,278 — 
Corporate bonds— 663,207 — — 176,014 — 
Municipal securities— 22,417 — — 1,060 — 
U.S. government securities674,476 — — 92,073 — — 
Foreign government securities— 13,010 — — 25,525 — 
Other:
Investment in marketable equity security— — — 376,258 — — 
Total$6,008,845 $1,349,160 $— $4,052,716 $863,219 $— 
The estimated fair value and carrying value of the convertible and senior notes were as follows (in thousands):
December 31, 2021December 31, 2020
Carrying ValueFair Value (Level 2)Carrying ValueFair Value (Level 2)
2031 Senior Notes$986,774 $1,018,113 $— $— 
2026 Senior Notes987,626 994,579 — — 
2027 Convertible Notes567,208 614,286 458,496 644,000 
2026 Convertible Notes567,621 595,548 482,204 638,250 
2025 Convertible Notes990,361 1,477,302 858,332 1,912,440 
2023 Convertible Notes459,618 958,927 780,046 2,417,820 
2022 Convertible Notes455 3,192 7,846 80,731 
Total$4,559,663 $5,661,947 $2,586,924 $5,693,241 

The estimated fair value and carrying value of loans held for sale and loans held for investment is as follows (in thousands):
December 31, 2021December 31, 2020
Carrying ValueFair Value (Level 3)Carrying ValueFair Value (Level 3)
Loans held for sale$517,940 $574,982 $462,665 $467,805 
Loans held for investment91,447 95,746 — — 
Total$609,387 $670,728 $462,665 $467,805