XML 20 R10.htm IDEA: XBRL DOCUMENT
v3.10.0.1

MARKETABLE SECURITIES | 6 Months Ended
--- | ---
Jun. 30, 2018
Cash and Cash Equivalents [Abstract] |
MARKETABLE SECURITIES | NOTE 4: MARKETABLE SECURITIES The following is a summary of available-for-sale marketable securities:
|  | June 30, 2018 (Unaudited) |
|  | Amortized cost |  |  | Gross unrealized gains |  |  | Gross unrealized losses |  |  | Fair value |
Available-for-sale—matures within one year: |  |  |  |  |  |  |  |  |  |  |  |  |
Corporate bonds |  | $ | 8,078 |  |  | $ | — |  |  | $ | (73 | ) |  | $ | 8,005 |
|  |  | 8,078 |  |  |  | — |  |  |  | (73 | ) |  |  | 8,005 |
Available-for-sale—matures after one year through five years: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Certificate of deposits |  |  | 747 |  |  |  | — |  |  |  | — |  |  |  | 747 |
Government bonds |  |  | 501 |  |  |  | — |  |  |  | (12 | ) |  |  | 489 |
Corporate bonds |  |  | 74,679 |  |  |  | 11 |  |  |  | (1,485 | ) |  |  | 73,205 |
|  |  | 75,927 |  |  |  | 11 |  |  |  | (1,497 | ) |  |  | 74,441 |
Total |  | $ | 84,005 |  |  | $ | 11 |  |  | $ | (1,570 | ) |  | $ | 82,446 |
|  | December 31, 2017 (Audited) |
|  | Amortized cost |  |  | Gross unrealized gains |  |  | Gross unrealized losses |  |  | Fair value |
Available-for-sale—matures within one year: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Corporate bonds |  | $ | 11,803 |  |  | $ | 3 |  |  | $ | (12 | ) |  | $ | 11,794 |
|  |  | 11,803 |  |  |  | 3 |  |  |  | (12 | ) |  |  | 11,794 |
Available-for-sale—matures after one year through five years: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Certificate of deposits |  |  | 747 |  |  |  | — |  |  |  | — |  |  |  | 747 |
Government bonds |  |  | 501 |  |  |  | — |  |  |  | (6 | ) |  |  | 495 |
Corporate bonds |  |  | 70,291 |  |  |  | 14 |  |  |  | (677 | ) |  |  | 69,628 |
|  |  | 71,539 |  |  |  | 14 |  |  |  | (683 | ) |  |  | 70,870 |
Total |  | $ | 83,342 |  |  | $ | 17 |  |  | $ | (695 | ) |  | $ | 82,664 |
The following table presents gross unrealized losses and fair values for those investments that were in an unrealized loss position as of June 30, 2018 and December 31, 2017, and the length of time that those investments have been in a continuous loss position:
|  | Less than 12 months |  |  | 12 months or greater |
|  | Fair value |  |  | Gross unrealized loss |  |  | Fair value |  |  | Gross unrealized loss |
As of June 30, 2018 (unaudited) |  | $ | 44,032 |  |  | $ | (786 | ) |  | $ | 32,952 |  |  | $ | (784 | )
As of December 31, 2017 |  | $ | 49,921 |  |  | $ | (411 | ) |  | $ | 22,960 |  |  | $ | (284 | )
As of June 30, 2018 and December 31, 2017, management believes the impairments are not other than temporary and therefore the impairment losses were recorded in accumulated other comprehensive income (loss). The following table presents gross realized gains and losses from sale of available-for-sale marketable securities:
|  | Six months ended June 30, |  |  | Three months ended June 30, |
|  | 2018 (unaudited) |  |  | 2017 (unaudited) |  |  | 2018 (unaudited) |  |  | 2017 (unaudited) |
Gross realized gains from sale of available-for-sale marketable securities |  | $ | 4 |  |  | $ | 6 |  |  | $ | — |  |  | $ | 6 |
Gross realized losses from sale of available-for-sale marketable securities |  | $ | (2 | ) |  | $ | (46 | ) |  | $ | (2 | ) |  | $ | (8 | )

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

X
- Definition The entire disclosure of cash, cash equivalents, and debt and equity securities, including any unrealized or realized gain (loss). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 305 -URI http://asc.fasb.org/topic&trid=2122426 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -URI http://asc.fasb.org/topic&trid=2196928 + Details
Name: | us-gaap_CashCashEquivalentsAndMarketableSecuritiesTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration