XML 85 R40.htm IDEA: XBRL DOCUMENT v3.22.2.2
Fair Value of Financial Instruments - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Long-term investments in convertible and redeemable preferred stock $ 28,911   $ 28,911   $ 199,965
Unrealized loss 77,400 $ 48,700 174,000 $ 15,300  
Proceeds from sale of marketable equity investments 3,200   3,223 $ 0  
Recorded loss of marketable equity investments 1,800   5,400    
Level 2          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Long-term investments in convertible and redeemable preferred stock $ 0   $ 0   $ 0
2026 Notes | Level 2          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Debt instrument, interest rate (percentage) 0.00%   0.00%    
Fair value of convertible senior notes $ 498,800   $ 498,800    
2025 Notes | Level 2          
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]          
Debt instrument, interest rate (percentage) 0.00%   0.00%    
Fair value of convertible senior notes $ 840,800   $ 840,800