XML 53 R42.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Fair Value Measurements - Summary of Financial Assets and Liabilities Measured and Recorded at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Mar. 31, 2024
Dec. 31, 2023
Assets:    
Debt securities $ 265,455 $ 225,715
The Notes, Due 2025 | Convertible Debt    
Liabilities:    
Interest Rate 2.25%  
Convertible debt, fair value disclosures $ 47,100  
The Notes, Due 2027 | Convertible Debt    
Liabilities:    
Interest Rate 0.25%  
Convertible debt, fair value disclosures $ 525,300  
The Notes, Due 2029 | Convertible Debt    
Liabilities:    
Interest Rate 1.25%  
Convertible debt, fair value disclosures $ 304,200  
U.S government agencies    
Assets:    
Debt securities 265,455 223,222
Agency bonds    
Assets:    
Debt securities   2,493
Fair Value, Measurements, Recurring    
Assets:    
Foreign currency forward contracts designated as cash flow hedges (prepaid expenses and other current assets and other assets) 499 1,322
Total assets 382,664 351,543
Liabilities:    
Foreign currency forward contracts designated as cash flow hedges (other current liabilities) 242 55
Total liabilities 242 55
Fair Value, Measurements, Recurring | U.S government agencies    
Assets:    
Debt securities 265,455 223,222
Fair Value, Measurements, Recurring | Agency bonds    
Assets:    
Debt securities   2,493
Fair Value, Measurements, Recurring | Money market funds    
Assets:    
Money market funds 116,710 124,506
Fair Value, Measurements, Recurring | Level 1    
Assets:    
Foreign currency forward contracts designated as cash flow hedges (prepaid expenses and other current assets and other assets) 0 0
Total assets 382,165 347,728
Liabilities:    
Foreign currency forward contracts designated as cash flow hedges (other current liabilities) 0 0
Total liabilities 0 0
Fair Value, Measurements, Recurring | Level 1 | U.S government agencies    
Assets:    
Debt securities 265,455 223,222
Fair Value, Measurements, Recurring | Level 1 | Agency bonds    
Assets:    
Debt securities   0
Fair Value, Measurements, Recurring | Level 1 | Money market funds    
Assets:    
Money market funds 116,710 124,506
Fair Value, Measurements, Recurring | Level 2    
Assets:    
Foreign currency forward contracts designated as cash flow hedges (prepaid expenses and other current assets and other assets) 499 1,322
Total assets 499 3,815
Liabilities:    
Foreign currency forward contracts designated as cash flow hedges (other current liabilities) 242 55
Total liabilities 242 55
Fair Value, Measurements, Recurring | Level 2 | U.S government agencies    
Assets:    
Debt securities 0 0
Fair Value, Measurements, Recurring | Level 2 | Agency bonds    
Assets:    
Debt securities   2,493
Fair Value, Measurements, Recurring | Level 2 | Money market funds    
Assets:    
Money market funds 0 0
Fair Value, Measurements, Recurring | Level 3    
Assets:    
Foreign currency forward contracts designated as cash flow hedges (prepaid expenses and other current assets and other assets) 0 0
Total assets 0 0
Liabilities:    
Foreign currency forward contracts designated as cash flow hedges (other current liabilities) 0 0
Total liabilities 0 0
Fair Value, Measurements, Recurring | Level 3 | U.S government agencies    
Assets:    
Debt securities 0 0
Fair Value, Measurements, Recurring | Level 3 | Agency bonds    
Assets:    
Debt securities   0
Fair Value, Measurements, Recurring | Level 3 | Money market funds    
Assets:    
Money market funds $ 0 $ 0