Contractual maturities of the Company’s marketable securities are summarized as follows (in thousands): | | | | | | | | | | | | | | | | | | | | | | | | | | | As of December 31, 2021 | | As of December 31, 2020 | | | | | | Gross | | Gross | | | | | | | | Gross | | Gross | | | | | | | | | Unrealized | | Unrealized | | Estimated | | | | | Unrealized | | Unrealized | | Estimated | (in thousands) | | Cost | | Gains | | Losses | | Fair Value | | Cost | | Gains | | Losses | | Fair Value | Due in one year or less | | $ | 27,042 | | $ | 1 | | $ | (108) | | $ | 26,935 | | $ | 39,475 | | $ | 11 | | $ | (123) | | $ | 39,363 | Due in one through two years | | | — | | | — | | | — | | | — | | | — | | | — | | | — | | | — | Total | | $ | 27,042 | | $ | 1 | | $ | (108) | | $ | 26,935 | | $ | 39,475 | | $ | 11 | | $ | (123) | | $ | 39,363 |
|