Annual report pursuant to Section 13 and 15(d)

Subsequent Events - Additional Information (Details)

v3.19.1
Subsequent Events - Additional Information (Details)
12 Months Ended
Mar. 07, 2019
USD ($)
d
$ / shares
Jan. 03, 2019
USD ($)
Jan. 01, 2019
shares
Dec. 31, 2018
shares
Dec. 31, 2017
shares
6.0% Convertible Senior Notes due 2025          
Subsequent Event [Line Items]          
Date of issuance and sale of notes Mar. 07, 2019        
Aggregate principal amount of notes $ 16,000,000        
Interest rate 6.00%        
Subsequent Event | 6.0% Convertible Senior Notes due 2025          
Subsequent Event [Line Items]          
Date of issuance and sale of notes Mar. 07, 2019        
Aggregate principal amount of notes $ 16,000,000        
Purchase price as percentage of principal amount 100.00%        
Interest rate 6.00%        
Payment terms The Note will bear interest at a rate of 6.0% per annum payable semiannualy in arrears on March 15 and September 15 of each year, beginning September 15, 2019.        
Notes maturity date Mar. 15, 2025        
Notes maturity description The Note will mature on March 15, 2025, unless earlier converted, redeemed or repurchased.        
Conversion terms holders of the Note may convert their Note at their option at any time prior to the close of business on the business day immediately preceding March 15, 2025 into shares of the Company’s common stock        
Conversion rate, number of shares to be issued per $1000 of principal (in shares) 739.0983        
Principal amount of notes used as the denominator for conversion into notes $ 1,000        
Initial conversion price of notes | $ / shares $ 1.35        
Conversion rate, number of shares to be issued per $1000 of principal (in shares) after adjustment to certain events 813        
Principal amount of notes used as the denominator for conversion into notes after adjustment of certain events $ 1,000        
Convertible notes, redemption start date Mar. 15, 2022        
Convertible notes, threshold percentage of stock price trigger 130.00%        
Convertible notes, threshold trading days | d 20        
Convertible notes, threshold consecutive trading days | d 30        
Redemption price as percentage of the principal amount 100.00%        
Redemption price as percentage of the principal amount subject to certain exceptions 100.00%        
Subsequent Event | State | New Jersey          
Subsequent Event [Line Items]          
Cash receipt from sale of NOLs   $ 6,700,000      
2014 Equity Incentive Plan          
Subsequent Event [Line Items]          
Share-based compensation arrangement by share-based payment award, number of additional shares authorized | shares       1,158,866 984,376
2014 Equity Incentive Plan | Subsequent Event          
Subsequent Event [Line Items]          
Share-based compensation arrangement by share-based payment award, number of additional shares authorized | shares     1,918,879    
2014 Employee Stock Purchase Plan          
Subsequent Event [Line Items]          
Share-based compensation arrangement by share-based payment award, number of additional shares authorized | shares       29,411 29,411
2014 Employee Stock Purchase Plan | Subsequent Event          
Subsequent Event [Line Items]          
Share-based compensation arrangement by share-based payment award, number of additional shares authorized | shares     29,411