Subsequent Event (Details Textual) - USD ($) $ / shares in Units, $ in Thousands |
|
6 Months Ended |
|
Feb. 06, 2017 |
Jan. 31, 2017 |
Jul. 31, 2016 |
| Subsequent Event (Textual) |
|
|
|
| Restricted cash |
|
|
|
| Loan Agreement [Member] |
|
|
|
| Subsequent Event (Textual) |
|
|
|
| Payments of initial civil penalty |
|
1,500
|
|
| Payments of initial civil penalty |
|
1,500
|
|
| Restricted cash |
|
$ 1,500
|
|
| Subsequent Event [Member] |
|
|
|
| Subsequent Event (Textual) |
|
|
|
| Interest rate |
10.00%
|
|
|
| Percentage of warrant description |
The Lenders will receive additional warrants on a monthly basis with an aggregate exercise price equal to 10% (dropping to 7.5% in September 2017) of the then outstanding Loan Amount.
|
|
|
| Subsequent Event [Member] | Loan Agreement [Member] |
|
|
|
| Subsequent Event (Textual) |
|
|
|
| Borrowed from investors |
$ 17,500
|
|
|
| Interest rate |
5.00%
|
|
|
| Interest rate, Increase (Decrease) |
10.00%
|
|
|
| Warrants expire date |
Dec. 29, 2017
|
|
|
| Fair value of the warrants issued |
$ 4,040,000
|
|
|
| Risk-free rate |
1.16%
|
|
|
| Dividend yield |
0.00%
|
|
|
| Volatility |
96.68%
|
|
|
| Expected term |
1 year 11 months 1 day
|
|
|
| Subsequent Event [Member] | Class B Common Stock [Member] |
|
|
|
| Subsequent Event (Textual) |
|
|
|
| Warrant issued to purchase common stock |
252,161
|
|
|
| Warrants exercise price |
$ 34.70
|
|
|
| Warrants expire date |
Dec. 31, 2018
|
|
|
| Proceeds from aggregate warrants |
$ 7,500
|
|
|