Annual report pursuant to Section 13 and 15(d)

Summary of Significant Accounting Policies - Narrative (Details)

v3.22.0.1
Summary of Significant Accounting Policies - Narrative (Details)
$ in Thousands
1 Months Ended 12 Months Ended
Sep. 20, 2021
USD ($)
Sep. 30, 2021
USD ($)
Dec. 31, 2021
USD ($)
partner
shares
Dec. 31, 2020
USD ($)
shares
Dec. 31, 2019
USD ($)
shares
Dec. 31, 2018
shares
Dec. 31, 2016
shares
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Allowance for doubtful accounts     $ 34 $ 159 $ 14    
Capitalized commissions     24,058 14,748 10,042    
Amortization of capitalized commissions     13,964 13,423 11,089    
Foreign currency gain (loss)     $ (3,819) 3,064 (140)    
Number of partners | partner     2        
Revenue from collaborative arrangement     $ 5,400 1,900 100    
Advertising costs     6,700 5,500 6,100    
Stock-based compensation expense     $ 10,666 $ 6,184 $ 3,492    
RSUs granted (in shares) | shares     1,716,193        
Dividend rate     0.00%        
Operating lease right-of-use assets     $ 12,626        
Operating lease liabilities     $ 12,857        
Sales-Based Milestone Warrants              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Warrants expiration term     10 years        
Restricted stock units              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Stock-based compensation expense $ 900 $ 900          
Unrecognized compensation expense, period for recognition     3 years 10 months 24 days        
Shares issued (in shares) | shares           111,111 240,000
RSUs granted (in shares) | shares       0 0    
Stock options              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Unrecognized compensation expense, period for recognition     3 years        
Dividend rate     0.00% 0.00% 0.00%    
Collaborative Arrangement, Transaction with Party to Collaborative Arrangement              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Royalty expense     $ 900 $ 600 $ 300    
Minimum              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Useful life     3 years        
Commission amortization period     4 years        
Maximum              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Useful life     7 years        
Commission amortization period     5 years        
Cumulative Effect, Period of Adoption, Adjustment              
New Accounting Pronouncements or Change in Accounting Principle [Line Items]              
Operating lease right-of-use assets       5,800      
Operating lease liabilities       6,500      
Unamortized deferred rent       $ 700