XML 45 R34.htm IDEA: XBRL DOCUMENT v3.7.0.1
Fair Value of Financial Instruments (Details) - USD ($)
$ in Thousands
6 Months Ended
Apr. 19, 2017
Jul. 31, 2017
Jul. 31, 2016
Jan. 31, 2017
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Fair value adjustment $ 500 $ 491 $ 42  
Reclassification of preferred stock warrant liability $ 1,400 1,435    
Common Stock        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Number of shares called by warrants or rights 110,937      
Recurring        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Total assets   112,295    
Preferred stock warrant liability       $ 944
Recurring | Commercial paper        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities   15,376    
Recurring | Corporate bonds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities   79,010    
Recurring | Money market funds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash equivalents   12,908   9,785
Recurring | Corporate bonds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash equivalents   5,001    
Recurring | Level 1        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Total assets   12,908    
Preferred stock warrant liability       0
Recurring | Level 1 | Commercial paper        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities   0    
Recurring | Level 1 | Corporate bonds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities   0    
Recurring | Level 1 | Money market funds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash equivalents   12,908   9,785
Recurring | Level 1 | Corporate bonds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash equivalents   0    
Recurring | Level 2        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Total assets   99,387    
Preferred stock warrant liability       0
Recurring | Level 2 | Commercial paper        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities   15,376    
Recurring | Level 2 | Corporate bonds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities   79,010    
Recurring | Level 2 | Money market funds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash equivalents   0   0
Recurring | Level 2 | Corporate bonds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash equivalents   5,001    
Recurring | Level 3        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Total assets   0    
Preferred stock warrant liability       944
Recurring | Level 3 | Commercial paper        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities   0    
Recurring | Level 3 | Corporate bonds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Marketable securities   0    
Recurring | Level 3 | Money market funds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash equivalents   0   $ 0
Recurring | Level 3 | Corporate bonds        
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]        
Cash equivalents   $ 0