XML 52 R29.htm IDEA: XBRL DOCUMENT v3.8.0.1
Summary of Significant Accounting Policies - Summary of Fair Value Measurement Financial Asset and Liabilities (Details) - USD ($)
$ in Thousands
Dec. 31, 2017
Dec. 31, 2016
Assets [Abstract]    
Cash and cash equivalents $ 62,500 $ 50,800
Total assets measured at fair value 155,910 251,666
Money market funds    
Assets [Abstract]    
Cash and cash equivalents 61,512 46,781
U.S Treasury securities    
Assets [Abstract]    
Marketable securities 3,990 8,826
Government-sponsored enterprises    
Assets [Abstract]    
Marketable securities 11,990 29,759
Corporate debt securities    
Assets [Abstract]    
Marketable securities 78,418 166,300
Quoted Prices in Active Markets for Identical Assets, Level 1    
Assets [Abstract]    
Total assets measured at fair value 61,512 46,781
Quoted Prices in Active Markets for Identical Assets, Level 1 | Money market funds    
Assets [Abstract]    
Cash and cash equivalents 61,512 46,781
Quoted Prices in Active Markets for Identical Assets, Level 1 | U.S Treasury securities    
Assets [Abstract]    
Marketable securities 0 0
Quoted Prices in Active Markets for Identical Assets, Level 1 | Government-sponsored enterprises    
Assets [Abstract]    
Marketable securities 0 0
Quoted Prices in Active Markets for Identical Assets, Level 1 | Corporate debt securities    
Assets [Abstract]    
Marketable securities 0 0
Significant Other Observable Inputs, Level 2    
Assets [Abstract]    
Total assets measured at fair value 94,398 204,885
Significant Other Observable Inputs, Level 2 | Money market funds    
Assets [Abstract]    
Cash and cash equivalents 0 0
Significant Other Observable Inputs, Level 2 | U.S Treasury securities    
Assets [Abstract]    
Marketable securities 3,990 8,826
Significant Other Observable Inputs, Level 2 | Government-sponsored enterprises    
Assets [Abstract]    
Marketable securities 11,990 29,759
Significant Other Observable Inputs, Level 2 | Corporate debt securities    
Assets [Abstract]    
Marketable securities 78,418 166,300
Significant Unobservable Inputs, Level 3    
Assets [Abstract]    
Total assets measured at fair value 0 0
Significant Unobservable Inputs, Level 3 | Money market funds    
Assets [Abstract]    
Cash and cash equivalents 0 0
Significant Unobservable Inputs, Level 3 | U.S Treasury securities    
Assets [Abstract]    
Marketable securities 0 0
Significant Unobservable Inputs, Level 3 | Government-sponsored enterprises    
Assets [Abstract]    
Marketable securities 0 0
Significant Unobservable Inputs, Level 3 | Corporate debt securities    
Assets [Abstract]    
Marketable securities $ 0 $ 0