XML 63 R47.htm IDEA: XBRL DOCUMENT v3.22.4
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Recently Adopted Accounting Pronouncements (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2022
Sep. 30, 2022
Jun. 30, 2022
Mar. 31, 2022
Dec. 31, 2021
Sep. 30, 2021
Jun. 30, 2021
Mar. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Convertible senior notes, net carrying value $ 140,873       $ 139,966       $ 140,873 $ 139,966  
Accumulated deficit (281,344)       (256,342)       (281,344) (256,342)  
Additional paid-in capital 538,073       502,095       538,073 502,095  
Interest expense 20,575 $ 19,046 $ 17,761 $ 5,831 4,757 $ 5,115 $ 5,421 $ 5,721 63,213 21,014 $ 28,882
Net income $ (7,199) $ 457 $ (5,191) $ (13,069) $ (25,034) $ 8,046 $ 72,843 $ 15,662 $ (25,002) $ 71,517 $ 26,752
Basic earnings per share $ (0.21) $ 0.01 $ (0.15) $ (0.39) $ (0.73) $ 0.23 $ 2.06 $ 0.45 $ (0.74) $ 2.05 $ 0.78
Diluted earnings per share $ (0.21) $ 0.01 $ (0.15) $ (0.39) $ (0.73) $ 0.22 $ 1.79 $ 0.41 $ (0.74) $ 1.86 $ 0.76
ASU 2020-06 | Adjustment                      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Interest expense                   $ (6,488)  
Net income                   $ 6,488  
Basic earnings per share                   $ 0.19  
Diluted earnings per share                   $ (0.06)  
ASU 2020-06 | Adjustment.                      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Convertible senior notes, net carrying value                     $ 39,489
Accumulated deficit                     5,288
Additional paid-in capital                     $ (44,777)