Investments (Tables)
|
6 Months Ended |
Jun. 30, 2019 |
| Available For Sale Securities |
|
| Gain (Loss) on Securities [Line Items] |
|
| Summary of the cost and fair value of investments |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gross Unrealized
|
|
Fair
|
|
(in thousands)
|
|
Cost
|
|
Gains
|
|
(Losses)
|
|
Value
|
|
As of June 30, 2019
|
|
$
|
670
|
|
$
|
59
|
|
$
|
(7)
|
|
$
|
722
|
|
As of December 31, 2018
|
|
|
666
|
|
|
6
|
|
|
(71)
|
|
|
601
|
|
| Summary of proceeds and realized gains and losses |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sale
|
|
Realized
|
|
(in thousands)
|
|
Proceeds
|
|
Gains
|
|
(Losses)
|
|
For the three months ended June 30, 2019
|
|
$
|
104
|
|
$
|
4
|
|
$
|
—
|
|
For the three months ended June 30, 2018
|
|
|
—
|
|
|
—
|
|
|
—
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sale
|
|
Realized
|
|
(in thousands)
|
|
Proceeds
|
|
Gains
|
|
(Losses)
|
|
For the six months ended June 30, 2019
|
|
$
|
104
|
|
$
|
4
|
|
$
|
—
|
|
For the six months ended June 30, 2018
|
|
|
—
|
|
|
—
|
|
|
—
|
|
|
|
|
|
|
|
|
|
|
|
|
| Trading Securities. |
|
| Gain (Loss) on Securities [Line Items] |
|
| Cost and fair value of investments |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gross Unrealized
|
|
Fair
|
|
(in thousands)
|
|
Cost
|
|
Gains
|
|
(Losses)
|
|
Value
|
|
As of June 30, 2019
|
|
$
|
16,572
|
|
$
|
331
|
|
$
|
(800)
|
|
$
|
16,103
|
|
As of December 31, 2018
|
|
|
14,874
|
|
|
5
|
|
|
(2,160)
|
|
|
12,719
|
|
| Summary of proceeds and realized gains and losses |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sale
|
|
Realized
|
|
(in thousands)
|
|
Proceeds
|
|
Gains
|
|
(Losses)
|
|
For the three months ended June 30, 2019
|
|
$
|
865
|
|
$
|
12
|
|
$
|
(12)
|
|
For the three months ended June 30, 2018
|
|
|
180
|
|
|
5
|
|
|
(4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sale
|
|
Realized
|
|
|
|
Proceeds
|
|
Gains
|
|
(Losses)
|
|
For the six months ended June 30, 2019
|
|
$
|
1,435
|
|
$
|
14
|
|
$
|
(31)
|
|
For the six months ended June 30, 2018
|
|
|
628
|
|
|
33
|
|
|
(6)
|
|