Annual report pursuant to Section 13 and 15(d)

Organization and Summary of Significant Accounting Policies (Details)

v3.19.1
Organization and Summary of Significant Accounting Policies (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Numerator:                      
Net income (loss) used for basic earnings per share                 $ (9,308) $ (14,307) $ 5,135
Less change in fair value of warrant liability                 0 619 825
Less change in fair value of derivatives                 134 0 0
Net income (loss) used for diluted earnings per share                 $ (9,442) $ (14,926) $ 4,310
Denominator:                      
Basic weighted-average outstanding common shares                 5,688 3,534 3,457
Effect of dilutive potential common shares resulting from options                 0 0 24
Effect of dilutive potential common shares resulting from warrants                 0 4 96
Weighted-average shares outstanding—diluted                 5,688 3,538 3,577
Net income (loss) per common share:                      
Basic $ (0.29) $ (0.64) $ (0.25) $ (0.74) $ (1.04) $ (1.19) $ (0.98) $ (0.85) $ (1.64) $ (4.05) $ 1.49
Diluted $ (0.29) $ (0.68) $ (0.25) $ (0.74) $ (1.04) $ (1.19) $ (1.03) $ (0.96) $ (1.66) $ (4.22) $ 1.20