Consolidated Statements of Changes in Convertible Preferred Stock and Stockholders' Equity (Deficit) (USD $) In Thousands, except Share data
|
Total
|
Series A Convertible Preferred Stock [Member]
|
Series B Convertible Preferred Stock [Member]
|
Series C Convertible Preferred Stock [Member]
|
Preferred Stock [Member]
|
Preferred Stock [Member]
Series A Convertible Preferred Stock [Member]
|
Preferred Stock [Member]
Series B Convertible Preferred Stock [Member]
|
Preferred Stock [Member]
Series C Convertible Preferred Stock [Member]
|
Common Stock [Member]
|
Common Stock [Member]
Series A Convertible Preferred Stock [Member]
|
Common Stock [Member]
Series B Convertible Preferred Stock [Member]
|
Common Stock [Member]
Series C Convertible Preferred Stock [Member]
|
Additional Paid-in Capital [Member]
|
Additional Paid-in Capital [Member]
Series A Convertible Preferred Stock [Member]
|
Additional Paid-in Capital [Member]
Series B Convertible Preferred Stock [Member]
|
Additional Paid-in Capital [Member]
Series C Convertible Preferred Stock [Member]
|
Accumulated Deficit during Development Stage [Member]
|
Accumulated Deficit during Development Stage [Member]
Series A Convertible Preferred Stock [Member]
|
Accumulated Deficit during Development Stage [Member]
Series B Convertible Preferred Stock [Member]
|
Accumulated Deficit during Development Stage [Member]
Series C Convertible Preferred Stock [Member]
|
Balance at Jun. 27, 2006 |
$ 0
|
|
|
|
$ 0
|
|
|
|
$ 0
|
|
|
|
$ 0
|
|
|
|
$ 0
|
|
|
|
Balance (in shares) at Jun. 27, 2006 |
|
|
|
|
0
|
|
|
|
0
|
|
|
|
|
|
|
|
|
|
|
|
Net loss |
(123)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(123)
|
|
|
|
Balance at Dec. 31, 2006 |
(123)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(123)
|
|
|
|
Balance (in shares) at Dec. 31, 2006 |
|
|
|
|
0
|
|
|
|
0
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Common stock to founders |
2
|
|
|
|
0
|
|
|
|
2
|
|
|
|
0
|
|
|
|
0
|
|
|
|
Issuance of Common stock to founders, Shares |
|
|
|
|
0
|
|
|
|
2,125,096
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of restricted Common stock to non-employees |
2
|
|
|
|
0
|
|
|
|
2
|
|
|
|
0
|
|
|
|
0
|
|
|
|
Issuance of restricted Common stock to non-employees, Shares |
|
|
|
|
0
|
|
|
|
2,180,000
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of restricted Common stock to employees |
1
|
|
|
|
0
|
|
|
|
1
|
|
|
|
0
|
|
|
|
0
|
|
|
|
Issuance of restricted Common stock to employees, Shares |
|
|
|
|
0
|
|
|
|
457,170
|
|
|
|
|
|
|
|
|
|
|
|
Stock-based compensation expense |
13
|
|
|
|
0
|
|
|
|
0
|
|
|
|
13
|
|
|
|
0
|
|
|
|
Net loss |
(2,644)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(2,644)
|
|
|
|
Balance at Dec. 31, 2007 |
(2,749)
|
|
|
|
0
|
|
|
|
5
|
|
|
|
13
|
|
|
|
(2,767)
|
|
|
|
Balance (in shares) at Dec. 31, 2007 |
|
|
|
|
0
|
|
|
|
4,762,266
|
|
|
|
|
|
|
|
|
|
|
|
Stock-based compensation expense |
25
|
|
|
|
0
|
|
|
|
0
|
|
|
|
25
|
|
|
|
0
|
|
|
|
Contribution of services by stockholder |
20
|
|
|
|
0
|
|
|
|
0
|
|
|
|
20
|
|
|
|
0
|
|
|
|
Net loss |
(3,799)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(3,799)
|
|
|
|
Balance at Dec. 31, 2008 |
5
|
|
|
|
0
|
|
|
|
|
|
|
|
58
|
|
|
|
(6,566)
|
|
|
|
Balance (in shares) at Dec. 31, 2008 |
4,762,266
|
|
|
|
0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stock-based compensation expense |
39
|
|
|
|
0
|
|
|
|
0
|
|
|
|
39
|
|
|
|
0
|
|
|
|
Contribution of services by stockholder |
40
|
|
|
|
0
|
|
|
|
0
|
|
|
|
40
|
|
|
|
0
|
|
|
|
Issuance Of Common Stock To Non Employees For Services Shares |
|
|
|
|
0
|
|
|
|
5,000
|
|
|
|
|
|
|
|
|
|
|
|
Net loss |
(3,666)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(3,666)
|
|
|
|
Balance at Dec. 31, 2009 |
(15,897)
|
|
|
|
29,277
|
|
|
|
5
|
|
|
|
4,312
|
|
|
|
(20,214)
|
|
|
|
Balance (in shares) at Dec. 31, 2009 |
|
|
|
|
4,357,885
|
|
|
|
4,791,102
|
|
|
|
|
|
|
|
|
|
|
|
Stock-based compensation expense |
2,329
|
|
|
|
0
|
|
|
|
0
|
|
|
|
2,329
|
|
|
|
0
|
|
|
|
Contribution of services by stockholder |
40
|
|
|
|
0
|
|
|
|
0
|
|
|
|
40
|
|
|
|
0
|
|
|
|
Issuance Of Common Stock To Non Employees For Services Shares |
|
|
|
|
0
|
|
|
|
23,836
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Convertible Preferred Stock for Cash |
|
0
|
|
|
|
21,681
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
Issuance of Convertible Preferred Stock for Cash, Shares |
|
|
|
|
|
2,584,166
|
|
|
|
0
|
|
|
|
|
|
|
|
|
|
|
Issuance Of Convertible Preferred Stock upon conversion of debt and accrued interest |
0
|
|
|
|
|
10,508
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
Issuance Of Convertible Preferred Stock upon conversion of debt and accrued interest, Shares |
|
|
|
|
|
1,773,719
|
|
|
|
0
|
|
|
|
|
|
|
|
|
|
|
Costs Related To Issuance Of Preferred Stock Series Including Common Stock Warrants |
621
|
|
|
|
|
(2,912)
|
|
|
|
0
|
|
|
|
621
|
|
|
|
0
|
|
|
Reclassification of fair value of warrant liability |
234
|
|
|
|
0
|
|
|
|
0
|
|
|
|
234
|
|
|
|
0
|
|
|
|
Change In Fair Value Of Embedded Conversion Feature Related To Related Party Notes And Senior Convertible Notes |
831
|
|
|
|
0
|
|
|
|
0
|
|
|
|
831
|
|
|
|
0
|
|
|
|
Issuance Of Common Stock To Non Employees For Services |
82
|
|
|
|
0
|
|
|
|
0
|
|
|
|
82
|
|
|
|
0
|
|
|
|
Issuance of common stock warrants to Non employees for services |
38
|
|
|
|
0
|
|
|
|
0
|
|
|
|
38
|
|
|
|
0
|
|
|
|
Net loss |
(9,982)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(9,982)
|
|
|
|
Balance at Dec. 31, 2010 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stock-based compensation expense |
1,469
|
|
|
|
0
|
|
|
|
0
|
|
|
|
1,469
|
|
|
|
0
|
|
|
|
Contribution of services by stockholder |
30
|
|
|
|
0
|
|
|
|
0
|
|
|
|
30
|
|
|
|
0
|
|
|
|
Issuance of Convertible Preferred Stock for Cash |
|
|
|
0
|
|
|
|
25,785
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
Issuance of Convertible Preferred Stock for Cash, Shares |
|
|
|
|
|
|
|
4,612,624
|
|
|
|
0
|
|
|
|
|
|
|
|
|
Issuance Of Convertible Preferred Stock Series B For Purchase Of Asphelia Assets Shares |
|
|
|
|
|
|
2,525,677
|
|
|
|
0
|
|
|
|
|
|
|
|
|
|
Issuance Of Convertible Preferred Stock Series B For Purchase Of Asphelia Assets Cash |
|
|
0
|
|
|
|
16,114
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
Costs Related To Issuance Of Convertible Preferred Stock Including Fair Value Of Common Stock Warrants |
|
|
|
0
|
|
|
|
(4,171)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
Stock Issued During Period, Value, Conversion of Convertible Securities, Net of Adjustments, Total |
|
29,277
|
16,113
|
21,614
|
|
(29,277)
|
(16,114)
|
(21,614)
|
|
4
|
2
|
5
|
|
29,273
|
16,111
|
21,609
|
|
0
|
0
|
0
|
Stock Issued During Period, Shares, Conversion of Convertible Securities |
|
|
|
|
|
(4,357,885)
|
(2,525,677)
|
(4,612,624)
|
|
4,357,885
|
2,525,677
|
4,612,624
|
|
|
|
|
|
|
|
|
Issuance Of Common Stock Dividend To Preferred Stock |
0
|
|
|
|
0
|
|
|
|
2
|
|
|
|
(2)
|
|
|
|
0
|
|
|
|
Issuance Of Common Stock Dividend To Preferred Stock Shares |
|
|
|
|
0
|
|
|
|
2,178,917
|
|
|
|
|
|
|
|
|
|
|
|
Exercise of stock options |
193
|
|
|
|
0
|
|
|
|
1
|
|
|
|
192
|
|
|
|
0
|
|
|
|
Exercise of stock options, shares |
|
|
|
|
0
|
|
|
|
138,040
|
|
|
|
138,080
|
|
|
|
|
|
|
|
Warrant liability |
2,693
|
|
|
|
0
|
|
|
|
0
|
|
|
|
2,693
|
|
|
|
0
|
|
|
|
Net loss |
(36,360)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(36,360)
|
|
|
|
Balance at Dec. 31, 2011 |
19,132
|
|
|
|
0
|
|
|
|
19
|
|
|
|
75,687
|
|
|
|
(56,574)
|
|
|
|
Balance (in shares) at Dec. 31, 2011 |
|
|
|
|
0
|
|
|
|
18,604,245
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Common stock to founders, Shares |
3,361
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stock-based compensation expense |
3,961
|
|
|
|
0
|
|
|
|
0
|
|
|
|
3,961
|
|
|
|
0
|
|
|
|
Issuance of Common Stock for cash, Shares |
|
|
|
|
0
|
|
|
|
5,750,000
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Common Stock for cash, Amount |
28,750
|
|
|
|
0
|
|
|
|
5
|
|
|
|
28,745
|
|
|
|
0
|
|
|
|
Costs related to issuance of Common stock |
(2,305)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(2,305)
|
|
|
|
0
|
|
|
|
Exercise of warrants |
|
|
|
|
0
|
|
|
|
21,504
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Common stock under ESPP |
|
|
|
|
0
|
|
|
|
21,644
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Common stock Related to ESPP, Value |
87
|
|
|
|
0
|
|
|
|
0
|
|
|
|
87
|
|
|
|
0
|
|
|
|
Issuance of Common Stock for At the Market Offering for Cash |
|
|
|
|
|
|
|
|
3,361
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Common Stock for At the Market Offering for Cash Value |
19
|
|
|
|
|
|
|
|
0
|
|
|
|
19
|
|
|
|
0
|
|
|
|
Costs related to the issuance of Common stock for At the Market Offering |
(1)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(1)
|
|
|
|
0
|
|
|
|
Net loss |
(27,610)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(27,610)
|
|
|
|
Balance at Dec. 31, 2012 |
22,033
|
|
|
|
0
|
|
|
|
24
|
|
|
|
106,193
|
|
|
|
(84,184)
|
|
|
|
Balance (in shares) at Dec. 31, 2012 |
|
|
|
|
0
|
|
|
|
24,400,754
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Common stock to founders, Shares |
10,558,422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of restricted Common stock to employees |
0
|
|
|
|
0
|
|
|
|
4
|
|
|
|
(4)
|
|
|
|
0
|
|
|
|
Issuance of restricted Common stock to employees, Shares |
|
|
|
|
0
|
|
|
|
3,958,692
|
|
|
|
|
|
|
|
|
|
|
|
Stock-based compensation expense |
5,902
|
|
|
|
0
|
|
|
|
0
|
|
|
|
5,902
|
|
|
|
0
|
|
|
|
Exercise of stock options |
970
|
|
|
|
0
|
|
|
|
1
|
|
|
|
969
|
|
|
|
0
|
|
|
|
Exercise of stock options, shares |
(550,157)
|
|
|
|
0
|
|
|
|
550,157
|
|
|
|
|
|
|
|
|
|
|
|
Exercise of warrants |
|
|
|
|
0
|
|
|
|
157,355
|
|
|
|
|
|
|
|
|
|
|
|
Exercise of warrants, value |
1
|
|
|
|
0
|
|
|
|
1
|
|
|
|
0
|
|
|
|
0
|
|
|
|
Issuance of Common stock under ESPP |
|
|
|
|
0
|
|
|
|
27,570
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Common stock Related to ESPP, Value |
92
|
|
|
|
0
|
|
|
|
0
|
|
|
|
92
|
|
|
|
0
|
|
|
|
Issuance of Common Stock for At the Market Offering for Cash |
|
|
|
|
0
|
|
|
|
10,558,422
|
|
|
|
|
|
|
|
|
|
|
|
Issuance of Common Stock for At the Market Offering for Cash Value |
91,337
|
|
|
|
0
|
|
|
|
10
|
|
|
|
91,327
|
|
|
|
0
|
|
|
|
Costs related to the issuance of Common stock for At the Market Offering |
(1,899)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(1,899)
|
|
|
|
0
|
|
|
|
Net loss |
(37,158)
|
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
(37,158)
|
|
|
|
Balance at Dec. 31, 2013 |
$ 81,278
|
|
|
|
$ 0
|
|
|
|
$ 40
|
|
|
|
$ 202,580
|
|
|
|
$ (121,342)
|
|
|
|
Balance (in shares) at Dec. 31, 2013 |
|
|
|
|
0
|
|
|
|
39,652,950
|
|
|
|
|
|
|
|
|
|
|
|