XML 54 R43.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Fair Value Measurements - Summary of Financial Assets and Liabilities Measured and Recorded at Fair Value on Recurring Basis (Details) - USD ($)
$ in Thousands
Jun. 30, 2024
Dec. 31, 2023
Assets:    
Debt securities $ 257,105 $ 225,715
The Notes, Due 2025 | Convertible Debt    
Liabilities:    
Interest Rate 2.25%  
Convertible debt, fair value disclosures $ 45,100  
The Notes, Due 2027 | Convertible Debt    
Liabilities:    
Interest Rate 0.25%  
Convertible debt, fair value disclosures $ 536,200  
The Notes, Due 2029 | Convertible Debt    
Liabilities:    
Interest Rate 1.25%  
Convertible debt, fair value disclosures $ 282,900  
U.S government agencies    
Assets:    
Debt securities 257,105 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) 1,662 1,322
Total assets 258,767 227,037
Liabilities:    
Foreign currency forward contracts designated as cash flow hedges (other current liabilities) 419 55
Total liabilities 419 55
Fair Value, Measurements, Recurring | U.S government agencies    
Assets:    
Debt securities 257,105 223,222
Fair Value, Measurements, Recurring | Agency bonds    
Assets:    
Debt securities   2,493
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 257,105 223,222
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 257,105 223,222
Fair Value, Measurements, Recurring | Level 1 | Agency bonds    
Assets:    
Debt securities   0
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) 1,662 1,322
Total assets 1,662 3,815
Liabilities:    
Foreign currency forward contracts designated as cash flow hedges (other current liabilities) 419 55
Total liabilities 419 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 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