XML 33 R21.htm IDEA: XBRL DOCUMENT v3.10.0.1
Basis of Presentation and Summary of Significant Accounting Policies (Details)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2017
USD ($)
Jun. 30, 2018
USD ($)
Institution
Jun. 30, 2017
USD ($)
Dec. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
Concentration of Credit Risk and Others Risks and Uncertainties [Abstract]          
Number of financial institutions holding company's cash | Institution   2      
Prepaid Expenses [Abstract]          
Prepayment of facility lease for corporate promotional and marketing purposes   $ 4,000      
Lease term   10 years      
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Adjusted Cost $ 2,212 $ 3,968 $ 2,212 $ 3,135 $ 6,627
Adjusted Cost   2,635   2,617  
Unrealized Gains   1   0  
Unrealized Losses   0   (1)  
Fair Value   2,636   2,616  
Adjusted Cost   4,691   4,589  
Fair Value   4,692   4,588  
Investments Available for Sale   2,636   2,616  
Cash [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Adjusted Cost   2,056   1,972  
Fair Value   2,056   1,972  
Cash and Cash Equivalents   2,056   1,972  
Mutual Funds [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Adjusted Cost   1,087   616  
Unrealized Gains   0   0  
Unrealized Losses   0   0  
Fair Value   1,087   616  
Investments Available for Sale   1,087   616  
U.S. Government Securities [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Adjusted Cost   80      
Unrealized Gains   0      
Unrealized Losses   0      
Fair Value   80      
Investments Available for Sale   80      
U.S. Agency Securities [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Adjusted Cost   1,468   2,001  
Unrealized Gains   1   0  
Unrealized Losses   0   (1)  
Fair Value   1,469   2,000  
Investments Available for Sale   1,469   2,000  
Recurring [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Fair Value   3,968   3,135  
Fair Value   724   1,453  
Cash and Cash Equivalents   3,968   3,135  
Investments Available for Sale   724   1,453  
Recurring [Member] | Cash [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Fair Value   2,056   1,972  
Cash and Cash Equivalents   2,056   1,972  
Recurring [Member] | Level 1 [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Fair Value   1,912   1,163  
Fair Value   724   1,453  
Cash and Cash Equivalents   1,912   1,163  
Investments Available for Sale   724   1,453  
Recurring [Member] | Level 1 [Member] | Mutual Funds [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Fair Value   1,087   616  
Fair Value   0      
Cash and Cash Equivalents   1,087   616  
Investments Available for Sale   0      
Recurring [Member] | Level 1 [Member] | U.S. Government Securities [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Fair Value   0      
Fair Value   80      
Cash and Cash Equivalents   0      
Investments Available for Sale   80      
Recurring [Member] | Level 1 [Member] | U.S. Agency Securities [Member]          
Cash and available-for-sale securities adjusted cost, gross unrealized gains, gross unrealized losses and fair value by significant investment category [Abstract]          
Fair Value   825   547  
Fair Value   644   1,453  
Cash and Cash Equivalents   825   547  
Investments Available for Sale   644   1,453  
2013 to 2016 Contract [Member]          
Deferred Revenue [Abstract]          
Total contractual payments received   $ 10,000      
Revenue recognized $ 375   $ 750    
ASU 2014-09 [Member]          
Deferred Revenue [Abstract]          
Revenue recognized       2,500  
ASU 2014-09 [Member] | Retained Earnings [Member]          
New Accounting Pronouncements [Abstract]          
Cumulative effect adjustments       (2,500)  
ASU 2014-09 [Member] | Deferred Revenue [Member]          
New Accounting Pronouncements [Abstract]          
Cumulative effect adjustments       $ (2,500)