XML 35 R25.htm IDEA: XBRL DOCUMENT v3.7.0.1
Cash, Cash Equivalents and Marketable Securities (Details) - USD ($)
$ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2017
Dec. 31, 2016
Cash, Cash Equivalents and Marketable Securities    
Cash, cash equivalents and marketable securities, unrealized gains $ 36 $ 25
Carrying value    
Cash, Cash Equivalents and Marketable Securities    
Cash and cash equivalents 34,797 19,145
Total cash, cash equivalents and marketable securities, cost 67,130 40,475
Fair value    
Cash, Cash Equivalents and Marketable Securities    
Cash and cash equivalents 34,797 19,145
Total cash, cash equivalents and marketable securities $ 67,166 $ 40,500
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 $ 36 $ 25
Corporate debt securities due within 1 year of date of purchase | Carrying value | Level 2    
Cash, Cash Equivalents and Marketable Securities    
Marketable securities, cost 32,333 21,330
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 32,369 21,355
Cash | Carrying value | Level 1    
Cash, Cash Equivalents and Marketable Securities    
Cash and cash equivalents 3,887 5,651
Cash | Fair value | Level 1    
Cash, Cash Equivalents and Marketable Securities    
Cash and cash equivalents 3,887 5,651
Money market funds | Carrying value | Level 1    
Cash, Cash Equivalents and Marketable Securities    
Cash and cash equivalents 30,910 13,494
Money market funds | Fair value | Level 1    
Cash, Cash Equivalents and Marketable Securities    
Cash and cash equivalents $ 30,910 $ 13,494