XML 42 R11.htm IDEA: XBRL DOCUMENT v3.22.2
Financial Instruments
6 Months Ended
Jun. 30, 2022
Fair Value Disclosures [Abstract]  
Financial Instruments Financial Instruments
Investments
The following tables present information about our financial assets measured at fair value on a recurring basis based on the three-tier fair value hierarchy (in thousands):
Fair Value Measurement at
June 30, 2022
Level 1Level 2Total
Description   
U.S. Treasury securities$— $473,780 $473,780 
Corporate bonds— 407,259 407,259 
Money market funds296,670 — 296,670 
Asset-backed securities— 92,019 92,019 
Agency securities— 52,012 52,012 
Commercial paper— 49,286 49,286 
Certificates of deposit and time deposits— 10,841 10,841 
Total$296,670 $1,085,197 $1,381,867 
Included in cash and cash equivalents  $317,655 
Included in marketable securities  $1,064,212 
 Fair Value Measurement at
December 31, 2021
Level 1Level 2Total
Description   
U.S. Treasury securities$— $480,726 $480,726 
Corporate bonds— 430,018 430,018 
Money market funds234,123 — 234,123 
Asset-backed securities— 93,620 93,620 
Agency securities— 50,057 50,057 
Commercial paper— 48,950 48,950 
Certificates of deposit and time deposits— 1,488 1,488 
Total$234,123 $1,104,859 $1,338,982 
Included in cash and cash equivalents  $239,550 
Included in marketable securities  $1,099,432 
 
As of June 30, 2022 and December 31, 2021, there were no securities within Level 3 of the fair value hierarchy. There were no transfers between fair value measurement levels during the three and six months ended June 30, 2022 or 2021.
As of June 30, 2022, gross unrealized gains and gross unrealized losses for marketable securities were not material and $19 million, respectively. The aggregate amortized cost basis for cash equivalents and marketable securities was $1,401 million and excludes accrued interest of $3 million. The aggregate fair value of securities with unrealized losses was $989 million.
As of December 31, 2021, gross unrealized gains and gross unrealized losses for marketable securities were $1 million and $3 million, respectively. The aggregate amortized cost basis for cash equivalents and marketable securities was $1,341 million and excludes accrued interest of $3 million. The aggregate fair value of securities with unrealized losses was $795 million.
Unrealized losses for securities that have been in an unrealized loss position for more than 12 months as of June 30, 2022 and December 31, 2021 were $1 million and not material, respectively. We have not recorded an allowance for credit losses, as we believe any such losses would be immaterial based on the high-grade credit rating for each of our marketable securities as of the end of each period. We intend to hold our marketable securities to maturity and it is unlikely that they would be sold before their cost bases are recovered.
The following table classifies our marketable securities by contractual maturity (in thousands):
 
 June 30,
2022
December 31,
2021
Due in one year or less$590,263 $539,780 
Due after one year and within five years473,949 559,652 
Total$1,064,212 $1,099,432 
 
As of June 30, 2022 and December 31, 2021, the balance of strategic investments without readily determinable fair values was $17 million and $16 million, respectively. There have been no adjustments to the carrying values of strategic investments resulting from impairments or observable price changes.
For our other financial instruments, including accounts receivable, accounts payable, and other current liabilities, the carrying amounts approximate their fair values due to the relatively short maturity of these balances.
Derivative Instruments and Hedging
Our foreign currency exposures typically arise from expenditures associated with foreign operations and sales in foreign currencies of our products. To mitigate the effect of foreign currency fluctuations on our future cash flows and earnings, we enter into foreign currency forward contracts with certain financial institutions and designate those contracts as cash flow hedges. Our foreign currency forward contracts generally have maturities of 15 months or less.
We include time value related to our cash flow hedges for effectiveness testing purposes and the entire change in the unrecognized value of our hedge contracts is recorded in accumulated other comprehensive income (loss), or AOCI. As of June 30, 2022, the balance of AOCI included an unrecognized net gain of $1 million related to the changes in the fair value of foreign currency forward contracts designated as cash flow hedges. We expect to reclassify a net loss of $1 million into earnings over the next 12 months associated with our cash flow hedges.
The following tables present information about our derivative instruments on our consolidated balance sheets (in thousands):
 
 June 30, 2022
Asset DerivativesLiability Derivatives
Derivative InstrumentBalance Sheet LocationFair Value
(Level 2)
Balance Sheet LocationFair Value
(Level 2)
Foreign currency forward contractsOther current assets$13,110 Accrued liabilities$15,944 
Total$13,110  $15,944 
 December 31, 2021
Asset DerivativesLiability Derivatives
Derivative InstrumentBalance Sheet LocationFair Value
(Level 2)
Balance Sheet LocationFair Value
(Level 2)
Foreign currency forward contractsOther current assets$6,439 Accrued liabilities$9,422 
Total $6,439  $9,422 
 
Our foreign currency forward contracts had a total notional value of $537 million and $488 million as of June 30, 2022 and December 31, 2021, respectively. We have a master netting arrangement with each of our counterparties, which permit net settlement of multiple, separate derivative contracts with a single payment. We do not have collateral requirements with any of our counterparties. GAAP permits companies to present the fair value of derivative instruments on a net basis according to master netting arrangements. We have elected to present our derivative instruments on a gross basis in our consolidated
financial statements. We do not enter into any derivative contracts for trading or speculative purposes. All derivatives have been designated as hedging instruments.
The following table presents information about our foreign currency forward contracts on our consolidated statements of operations for the three and six months ended June 30, 2022 and 2021 (in thousands):
 
Gain (Loss) Reclassified from AOCI into Earnings
Three Months Ended June 30,Six Months Ended June 30,
Classification2022202120222021
Revenue$2,392 $(1,373)$3,186 $(2,081)
Cost of revenue(901)400 (1,406)890 
Research and development(1,272)488 (1,946)1,003 
Sales and marketing(2,384)1,044 (3,620)2,073 
General and administrative(742)290 (1,135)707 
 Total$(2,907)$849 $(4,921)$2,592 
The loss recognized in AOCI related to foreign currency forward contracts was $6 million for the three months ended June 30, 2022. The gain recognized in AOCI related to foreign currency forward contracts was $1 million for the three months ended June 30, 2021. The loss recognized in AOCI related to foreign currency forward contracts was $1 million and $3 million for the six months ended June 30, 2022 and 2021, respectively.

The cash flow effects related to foreign currency forward contracts are included within operating activities on our consolidated statements of cash flows.
Convertible Senior Notes
As of June 30, 2022, the fair values of our 0.25% convertible senior notes due 2023 and our 0.625% convertible senior notes due 2025 were $177 million and $973 million, respectively. We estimate the fair value of our convertible senior notes based on their last traded prices or market observable inputs, resulting in a Level 2 classification in the fair value hierarchy. Based on the closing price of our common stock of $74.07 on the last trading day of the quarter, the if-converted value of the 2025 convertible senior notes did not exceed the principal amount of $1,150 million, and the if-converted value of the 2023 convertible senior notes exceeded the remaining principal amount by $26 million as of June 30, 2022.