Fair Value Disclosures [Text Block] | NOTE 2. Fair Value of Financial Instruments Fair value is defined as the price that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date. For certain of the Company’s financial instruments, including certain cash equivalents, accounts receivable, accounts payable and accrued liabilities, the carrying amounts approximate their fair values due to the relatively short maturity of these balances. The Company measures and reports certain cash equivalents, marketable securities, derivative foreign currency forward contracts at fair value in accordance with the provisions of the authoritative accounting guidance that addresses fair value measurements. This guidance establishes a hierarchy for inputs used in measuring fair value that maximizes the use of observable inputs and minimizes the use of unobservable inputs by requiring that the most observable inputs be used when available. The hierarchy is broken down into three Level 1 Level 2 Level 3 The Company's financial instruments consist of assets and liabilities measured using Level 1 2 1 2 The Company's cash and cash equivalents, and marketable securities consist of the following: June 30, 2022 Unrealized Unrealized Amortized Cost Gains Losses Fair Value (in thousands) Cash and cash equivalents: Cash $ 84,920 $ — $ — $ 84,920 Money market funds 35,046 — — 35,046 Commercial paper 999 — — 999 Total 120,965 — — 120,965 Short-term marketable securities: Commercial paper 32,137 — (37 ) 32,100 Corporate bonds 38,525 3 (343 ) 38,185 Asset-backed securities 5 — — 5 U.S. Treasury and government agencies 228,376 — (1,545 ) 226,831 Foreign government 1,007 — (4 ) 1,003 Total 300,050 3 (1,929 ) 298,124 Long-term marketable securities: Corporate bonds 36,998 — (991 ) 36,007 Asset-backed securities 23,310 3 (170 ) 23,143 U.S. Treasury and government agencies 21,137 — (165 ) 20,972 Total 81,445 3 (1,326 ) 80,122 Total $ 502,460 $ 6 $ (3,255 ) $ 499,211 December 31, 2021 Unrealized Unrealized Amortized Cost Gains Losses Fair Value (in thousands) Cash and cash equivalents: Cash $ 61,220 $ — $ — $ 61,220 Money market funds 75,258 — — 75,258 Commercial paper 850 — — 850 Total 137,328 — — 137,328 Short-term marketable securities:(1) Commercial paper 18,046 — — 18,046 Corporate bonds 28,869 101 (7 ) 28,963 Asset-backed securities 3,952 — — 3,952 U.S. Treasury and government agencies 217,160 2 (163 ) 216,999 Total 268,027 103 (170 ) 267,960 Long-term marketable securities: Corporate bonds 57,762 160 (182 ) 57,740 Asset-backed securities 14,941 6 (36 ) 14,911 U.S. Treasury and government agencies 37,664 — (136 ) 37,528 Foreign government 1,007 12 — 1,019 Total 111,374 178 (354 ) 111,198 Total $ 516,729 $ 281 $ (524 ) $ 516,486 ( 1 2 10 December 31, 2021. As of June 30, 2022 12 not not December 31, 2021, 12 The following table sets forth by level within the fair value hierarchy the fair value of the Company's cash equivalents and marketable securities measured on a recurring basis: June 30, 2022 Level 1 Level 2 Fair Value (in thousands) Money market funds $ 35,046 $ — $ 35,046 Commercial paper — 33,099 33,099 Corporate bonds — 74,192 74,192 Asset-backed securities — 23,148 23,148 U.S. Treasury and government agencies — 247,803 247,803 Foreign government — 1,003 1,003 Total $ 35,046 $ 379,245 $ 414,291 December 31, 2021 Level 1 Level 2 Fair Value (in thousands) Money market funds $ 75,258 $ — $ 75,258 Commercial paper — 18,896 18,896 Corporate bonds — 86,703 86,703 Asset-backed securities — 18,863 18,863 U.S. Treasury and government agencies — 254,527 254,527 Foreign government — 1,019 1,019 Total $ 75,258 $ 380,008 $ 455,266 The following summarizes the fair value of marketable securities by contractual maturity: June 30, 2022 Mature within Mature after One Year Mature over One Year through Two Years Two Years Fair Value (in thousands) Commercial paper $ 33,099 $ — $ — $ 33,099 Corporate bonds 38,185 26,411 9,596 74,192 Asset-backed securities 5 10,238 12,905 23,148 U.S. Treasury and government agencies 226,831 20,972 — 247,803 Foreign government 1,003 — — 1,003 Total $ 299,123 $ 57,621 $ 22,501 $ 379,245 Derivative Financial Instruments Designated cash flow hedges The Company enters into foreign currency forward contracts to reduce the risk of variability in future cash flow due to foreign currency exchange rate fluctuations from certain forecasted subscription revenue orders billed in British Pound ("GBP") and Euro and operating expenses incurred in Indian Rupee ("INR"), which are designated as cash flow hedges. Unrealized foreign exchange gains or losses related to those designated cash flow hedge contracts are recorded in Accumulated other comprehensive income ("AOCI") and will be reclassified into revenues or operating expenses, respectively, in the same periods when the hedged transactions are recognized in earnings. As of June 30, 2022 , the Company had designated cash flow hedge forward contracts with notional amounts of €29.4 £9.1 Rs.3,211.0 December 31, 2021 , the Company had designated cash flow hedge forward contracts with notional amounts of €29.8 £9.4 Rs.2,955.3 June 30, 2022 , a net amount of unrealized gain of $3.4 million before tax on the foreign currency forward contracts for GBP and Euro reported in AOCI is expected to be reclassified into revenue within the next 12 June 30, 2022, 12 Non-designated forward contracts The Company also uses foreign currency forward contracts to hedge certain foreign currency denominated assets or liabilities, which are not As of June 30, 2022 f €38.1 £17.1 Rs.281.6 December 31, 2021 €34.5 £11.6 Rs.74.9 C$2.5 CHF1.0 The following summarizes derivative financial instruments as of June 30, 2022 December 31, 2021 June 30, December 31, 2022 2021 Assets (in thousands) Foreign currency forward contracts designated as cash flow hedge $ 3,260 $ 1,737 Foreign currency forward contracts not designated as hedging instruments 3,917 1,599 Total $ 7,177 $ 3,336 Liabilities Foreign currency forward contracts designated as cash flow hedge $ (1,150 ) $ (181 ) Foreign currency forward contracts not designated as hedging instruments (126 ) (207 ) Total $ (1,276 ) $ (388 ) All foreign currency forward contracts were valued at fair value using Level 2 The following summarizes the gains (losses) recognized from forward contracts and other foreign currency transactions in other income (expense), net on the condensed consolidated statements of operations: Three Months Ended Six Months Ended June 30, June 30, 2022 2021 2022 2021 (in thousands) (in thousands) Net gains from non-designated forward contracts $ 3,810 $ (41 ) $ 4,965 $ 1,044 Other foreign currency transaction gains (losses) (5,520 ) 30 (7,338 ) (1,228 ) Total foreign exchange losses, net (1,710 ) (11 ) (2,373 ) (184 ) Other expenses — (69 ) (47 ) (140 ) Other expense, net $ (1,710 ) $ (80 ) $ (2,420 ) $ (324 ) |