Table:
|  | Amortized Cost | Unrealized Gains | Unrealized Losses | Fair Value |
| --- | --- | --- | --- | --- |
|  |  | (U.S. $ in thousands) |  |  |
| Debt Investments |  |  |  |  |
| U.S. treasury securities | $52,809 | $— | $(109) | $52,700 |
| Agency securities | 22,097 | — | (82) | 22,015 |
| Certificates of deposit and time deposits | 58,824 | — | — | 58,824 |
| Commercial paper | 35,372 | — | — | 35,372 |
| Corporate debt securities | 158,538 | 14 | (669) | 157,883 |
| Total investments | $327,640 | $14 | $(860) | $326,794 |
Paragraphs:
As of June 30, 2018, the Group’s investments consisted of the following:
As of June 30, 2018, the Group had $323.1 million of investments which were classified as short-term investments on the Group’s consolidated statements of financial position. Additionally, the Group had certificates of deposit and time deposits totaling $3.6 million which were classified as long-term and were included in other non- current assets on the Group’s consolidated statements of financial position.
Question:
What is the amount of total investments based on fair value?
Answer: $326,794