XML 28 R12.htm IDEA: XBRL DOCUMENT
v3.22.4

MARKETABLE SECURITIES | 12 Months Ended
--- | ---
Dec. 31, 2022
Investments, Debt and Equity Securities [Abstract] |
MARKETABLE SECURITIES | NOTE 3:-MARKETABLE SECURITIES The following tables summarize the amortized cost, unrealized gains and losses, and fair value of available-for-sale marketable securities as of December 31, 2021 and 2022:
|  | December 31, 2021 |
|  | Amortized cost |  |  | Gross unrealized losses *) |  |  | Gross unrealized gains |  |  | Fair value |
Corporate debentures |  | $ | 453,927 |  |  | $ | (1,493 | ) |  | $ | 881 |  |  | $ | 453,315 |
Government debentures |  |  | 47,450 |  |  |  | (254 | ) |  |  | 84 |  |  |  | 47,280 |
Total |  | $ | 501,377 |  |  | $ | (1,747 | ) |  | $ | 965 |  |  | $ | 500,595 |
*) Out of the total unrealized losses, an amount of $16 has been in a continuous unrealized loss position for twelve months or longer.
|  | December 31, 2022 |
|  | Amortized cost |  |  | Gross unrealized losses*) |  |  | Gross unrealized gains |  |  | Fair value |
Corporate debentures |  | $ | 414,278 |  |  | $ | (12,223 | ) |  | $ | 111 |  |  | $ | 402,166 |
Government debentures |  |  | 128,686 |  |  |  | (2,006 | ) |  |  | 3 |  |  |  | 126,683 |
Total |  | $ | 542,964 |  |  | $ | (14,229 | ) |  | $ | 114 |  |  | $ | 528,849 |
*) Out of the total unrealized losses, an amount of $8,450 has been in a continuous unrealized loss position for twelve months or longer. The following table summarizes the amortized cost and fair value of available-for-sale marketable securities as of December 31, 2021 and 2022, by contractual years-to maturity:
|  | December 31, |
|  | 2021 |  |  | 2022 |
|  | Amortized cost |  |  | Fair value |  |  | Amortized cost |  |  | Fair value |
Due within one year |  | $ | 199,883 |  |  | $ | 199,933 |  |  | $ | 304,597 |  |  | $ | 301,101 |
Due between one and five years |  |  | 301,494 |  |  |  | 300,662 |  |  |  | 238,367 |  |  |  | 227,748 |
|  | $ | 501,377 |  |  | $ | 500,595 |  |  | $ | 542,964 |  |  | $ | 528,849

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for investments in certain debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -URI https://asc.fasb.org/subtopic&trid=2209399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 320 -URI https://asc.fasb.org/subtopic&trid=2324412 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI https://asc.fasb.org/topic&trid=2196928 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 940 -SubTopic 320 -URI https://asc.fasb.org/subtopic&trid=2176304 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-K (SK) -Number 229 -Section 1403 -Paragraph (b) + Details
Name: | us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration