Quarterly report pursuant to Section 13 or 15(d)

Description of Business and Basis of Presentation - Additional Information (Detail)

v3.21.2
Description of Business and Basis of Presentation - Additional Information (Detail) - USD ($)
shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Feb. 10, 2021
Dec. 31, 2020
Jun. 30, 2021
Jun. 30, 2020
Dec. 31, 2019
Basis Of Presentation [Line Items]          
Series F Preferred stock, shares issued   1 0    
Proceeds From Issuance Of Common Stock $ 14,400        
Proceeds from the exercise of common stock warrants   $ 1,500 $ 16,550 $ 0  
Cash, cash equivalents, and restricted cash   17,876 37,285 $ 5,749 $ 6,101
Accounts receivable, net   3,059 3,819    
Equity raise of gross proceeds $ 14,400        
SWK Loan          
Basis Of Presentation [Line Items]          
Working capital   23,900 42,600    
Pacific Mercantile Bank | Loan Agreement          
Basis Of Presentation [Line Items]          
Unused availability   $ 2,300 $ 2,800