Cash, Cash Equivalents and Marketable Securities (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended |
Mar. 31, 2020 | Dec. 31, 2019 |
Cash, Cash Equivalents and Marketable Securities | | |
Total cash, cash equivalents and marketable securities, Unrealized gains | $ 719 | $ 259 |
Total cash, cash equivalents and marketable securities, Unrealized losses | (304) | (43) |
Carrying value | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 66,651 | 46,697 |
Total cash, cash equivalents and marketable securities, Cost | 408,095 | 438,829 |
Fair value | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 66,651 | 46,697 |
Total cash, cash equivalents and marketable securities, Fair value | $ 408,510 | $ 439,045 |
Corporate debt securities due within 3 months of date of purchase | | |
Cash, Cash Equivalents and Marketable Securities | | |
Maturity period from date of purchase to classify an investment as marketable securities | 3 months | 3 months |
Corporate debt securities due within 3 months of date of purchase | Carrying value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | $ 1,451 | |
Corporate debt securities due within 3 months of date of purchase | Fair value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | $ 1,451 | |
Corporate debt securities due within 1 year of date of purchase | | |
Cash, Cash Equivalents and Marketable Securities | | |
Maturity period from date of purchase to classify an investment as marketable securities | 1 year | 1 year |
Corporate debt securities due within 1 year of date of purchase | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, unrealized gains | $ 680 | $ 220 |
Marketable securities, unrealized losses | (261) | (40) |
Corporate debt securities due within 1 year of date of purchase | Carrying value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, cost | 320,478 | 309,365 |
Corporate debt securities due within 1 year of date of purchase | Fair value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, fair value | $ 320,897 | $ 309,545 |
Corporate debt securities due within 1 to 2 years of date of purchase | Maximum [Member] | | |
Cash, Cash Equivalents and Marketable Securities | | |
Maturity period from date of purchase to classify an investment as marketable securities | 2 years | 2 years |
Corporate debt securities due within 1 to 2 years of date of purchase | Minimum [Member] | | |
Cash, Cash Equivalents and Marketable Securities | | |
Maturity period from date of purchase to classify an investment as marketable securities | 1 year | 1 year |
Corporate debt securities due within 1 to 2 years of date of purchase | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, unrealized gains | $ 39 | $ 39 |
Marketable securities, unrealized losses | (43) | (3) |
Corporate debt securities due within 1 to 2 years of date of purchase | Carrying value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, cost | 20,966 | 82,767 |
Corporate debt securities due within 1 to 2 years of date of purchase | Fair value | Level 2 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Marketable securities, fair value | 20,962 | 82,803 |
Cash | Carrying value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 1,668 | 1,772 |
Cash | Fair value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 1,668 | 1,772 |
Money market funds | Carrying value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | 63,532 | 44,925 |
Money market funds | Fair value | Level 1 | | |
Cash, Cash Equivalents and Marketable Securities | | |
Cash and cash equivalents | $ 63,532 | $ 44,925 |