|12 Months Ended|
Jun. 30, 2019
|Investments, Debt and Equity Securities [Abstract]|
NOTE 5 — MARKETABLE SECURITIES
The amortized cost and fair value of marketable securities as of the dates indicated below were as follows:
Our investment portfolio consists of both corporate and government securities that have a maximum maturity of three years. The longer the duration of these securities, the more susceptible they are to changes in market interest rates and bond yields. As yields increase, those securities with a lower yield-at-cost show a mark-to-market unrealized loss. Most of our unrealized losses are due to changes in market interest rates, and bond yields. We believe that we have the ability to realize the full value of all of these investments upon maturity. As of June 30, 2019, we had 246 investments in an unrealized loss position. The following table summarizes the fair value and gross unrealized losses of our investments that were in an unrealized loss position as of the date indicated below, the majority of which were in a continuous loss position for 12 months or more:
The contractual maturities of securities classified as available-for-sale, regardless of their classification on our Consolidated Balance Sheets, as of the date indicated below were as follows:
Actual maturities may differ from contractual maturities because borrowers may have the right to call or prepay obligations with or without call or prepayment penalties. Realized gains on available for sale securities were immaterial for the fiscal years ended June 30, 2019, 2018 and 2017. Realized losses on available for sale securities were $1.4 million for the fiscal year ended June 30, 2019 and were immaterial for the fiscal years ended June 30, 2018 and 2017.
The entire disclosure for investments in certain debt and equity securities.
Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef