XML 87 R62.htm IDEA: XBRL DOCUMENT v3.22.0.1
Accounting Policies - Additional Information (Details) - USD ($)
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Accounting Policies [Abstract]      
Research and development expense $ 8,656,000 $ 12,275,000 $ 15,836,000
Advertising expense 5,062,000 5,107,000 7,871,000
Recent Accounting Pronouncements Already Adopted [Line Items]      
Adoption of ASU 2020-06 25,128,000    
Adoption of ASU 2020-06, Convertible Debt Discounts Removed 25,218,000    
Amortization of convertible debt discount and accretion of convertible debt   $ 9,673,000 $ 12,325,000
Debt Discount Amortization, per Basic and Diluted Share   $ 0.28 $ 0.37
Retained Earnings      
Recent Accounting Pronouncements Already Adopted [Line Items]      
Adoption of ASU 2020-06 (9,670,000)    
Additional Paid-in- Capital      
Recent Accounting Pronouncements Already Adopted [Line Items]      
Adoption of ASU 2020-06 $ 34,798,000